aboutsummaryrefslogtreecommitdiff
path: root/src/net/brysonsteck
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-06-15 20:31:56 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-06-15 20:31:56 -0600
commit8d8371290ed06aa8f59e308ff322fd2e7e86f4dc (patch)
treefe826c717deb8a6ceb552ea47b74f509803c02d8 /src/net/brysonsteck
parenta06e712bf4178f2db3fb7de56f894ebfb6c922f8 (diff)
downloadresurrection-8d8371290ed06aa8f59e308ff322fd2e7e86f4dc.tar
resurrection-8d8371290ed06aa8f59e308ff322fd2e7e86f4dc.tar.gz
resurrection-8d8371290ed06aa8f59e308ff322fd2e7e86f4dc.tar.bz2
bedspawn no bueno
Diffstat (limited to 'src/net/brysonsteck')
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerListener.java2
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() {