diff options
Diffstat (limited to 'src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java')
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java b/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java index b47c6af..412387f 100644 --- a/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java +++ b/src/net/brysonsteck/Resurrection/player/ResurrectPlayer.java @@ -8,6 +8,7 @@ import org.bukkit.potion.PotionEffect; public class ResurrectPlayer { public ResurrectPlayer(Player p) { + p.setGameMode(GameMode.SURVIVAL); Bukkit.broadcastMessage(p.getDisplayName() + " has resurrected!"); } } |