diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/PlayerListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java index b23b7ae..caa9454 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java @@ -49,7 +49,7 @@ public class PlayerListener implements Listener { public void onPlayerRespawn(PlayerRespawnEvent e) { final Player p = e.getPlayer(); p.setGameMode(GameMode.SPECTATOR); - this.spawn = p.getBedSpawnLocation(); + this.spawn = p.getLocation(); new BukkitRunnable() { @Override public void run() { |