diff options
author | Bryson Steck <steck.bryson@gmail.com> | 2021-07-21 21:36:44 -0600 |
---|---|---|
committer | Bryson Steck <steck.bryson@gmail.com> | 2021-07-21 21:36:44 -0600 |
commit | 176eb6df74e3ce8c93e6b4944f84807363b2ad30 (patch) | |
tree | 9ad6829003b71087bfbd76589825b53a731e277f | |
parent | fb55c65cf129d610eee652c76a8c0744c1921169 (diff) | |
download | resurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar resurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar.gz resurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar.bz2 |
fixed spawning below bedrock
-rw-r--r-- | out/artifacts/Resurrection_jar/Resurrection.jar | bin | 1352760 -> 1352768 bytes | |||
-rw-r--r-- | src/net/brysonsteck/Resurrection/player/PlayerListener.java | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar Binary files differindex 0156966..4cc2436 100644 --- a/out/artifacts/Resurrection_jar/Resurrection.jar +++ b/out/artifacts/Resurrection_jar/Resurrection.jar 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<String, Location> 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(); |