removed potion calls in seperate thread
This commit is contained in:
parent
d11e749ea0
commit
e7683204ef
3 changed files with 0 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
@ -8,9 +8,6 @@ import org.bukkit.potion.PotionEffect;
|
|||
public class ResurrectPlayer {
|
||||
|
||||
public ResurrectPlayer(Player p) {
|
||||
for (PotionEffect effect : p.getActivePotionEffects())
|
||||
p.removePotionEffect(effect.getType());
|
||||
p.setGameMode(GameMode.SURVIVAL);
|
||||
Bukkit.broadcastMessage(p.getDisplayName() + " has resurrected!");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue