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 --- out/artifacts/Resurrection_jar/Resurrection.jar | Bin 1338970 -> 1338965 bytes .../Resurrection/player/PlayerListener.class | Bin 2630 -> 2622 bytes .../Resurrection/player/PlayerListener.java | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar index 94ad8b6..af72995 100644 Binary files a/out/artifacts/Resurrection_jar/Resurrection.jar and b/out/artifacts/Resurrection_jar/Resurrection.jar differ diff --git a/out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.class b/out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.class index c3089ab..e05d51b 100644 Binary files a/out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.class and b/out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.class differ 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