removed potion calls in seperate thread

This commit is contained in:
Bryson Steck 2021-06-15 18:51:39 -06:00
parent d11e749ea0
commit e7683204ef
3 changed files with 0 additions and 3 deletions

View file

@ -8,9 +8,6 @@ import org.bukkit.potion.PotionEffect;
public class ResurrectPlayer { public class ResurrectPlayer {
public ResurrectPlayer(Player p) { public ResurrectPlayer(Player p) {
for (PotionEffect effect : p.getActivePotionEffects())
p.removePotionEffect(effect.getType());
p.setGameMode(GameMode.SURVIVAL);
Bukkit.broadcastMessage(p.getDisplayName() + " has resurrected!"); Bukkit.broadcastMessage(p.getDisplayName() + " has resurrected!");
} }
} }