From 176eb6df74e3ce8c93e6b4944f84807363b2ad30 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Wed, 21 Jul 2021 21:36:44 -0600 Subject: fixed spawning below bedrock --- out/artifacts/Resurrection_jar/Resurrection.jar | Bin 1352760 -> 1352768 bytes .../Resurrection/player/PlayerListener.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar index 0156966..4cc2436 100644 Binary files a/out/artifacts/Resurrection_jar/Resurrection.jar and b/out/artifacts/Resurrection_jar/Resurrection.jar differ diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java index 9581da3..4dc4a06 100644 --- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java +++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java @@ -26,7 +26,7 @@ public class PlayerListener implements Listener { Hashtable playerSpawns = new Hashtable<>(); public PlayerListener() { - double newY = 0; + double newY = 46; while(true) { Location testLocation = new Location (world, 0, newY, 0); Block block = testLocation.getBlock(); -- cgit v1.2.3