diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-06-15 20:31:56 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-06-15 20:31:56 -0600 |
commit | 8d8371290ed06aa8f59e308ff322fd2e7e86f4dc (patch) | |
tree | fe826c717deb8a6ceb552ea47b74f509803c02d8 /src/net | |
parent | a06e712bf4178f2db3fb7de56f894ebfb6c922f8 (diff) | |
download | resurrection-8d8371290ed06aa8f59e308ff322fd2e7e86f4dc.tar resurrection-8d8371290ed06aa8f59e308ff322fd2e7e86f4dc.tar.gz resurrection-8d8371290ed06aa8f59e308ff322fd2e7e86f4dc.tar.bz2 |
bedspawn no bueno
Diffstat (limited to 'src/net')
-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() { |