aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck/Resurrection
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/brysonsteck/Resurrection')
-rw-r--r--src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java b/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java
index 971ada3..b47c6af 100644
--- a/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java
+++ b/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java
@@ -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!");
}
}