From 8d8371290ed06aa8f59e308ff322fd2e7e86f4dc Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Tue, 15 Jun 2021 20:31:56 -0600 Subject: bedspawn no bueno --- src/net/brysonsteck/Resurrection/player/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/brysonsteck/Resurrection') 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() { -- cgit v1.2.3