aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-07-21 21:36:44 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-07-21 21:36:44 -0600
commit176eb6df74e3ce8c93e6b4944f84807363b2ad30 (patch)
tree9ad6829003b71087bfbd76589825b53a731e277f
parentfb55c65cf129d610eee652c76a8c0744c1921169 (diff)
downloadresurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar
resurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar.gz
resurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar.bz2
fixed spawning below bedrock
-rw-r--r--out/artifacts/Resurrection_jar/Resurrection.jarbin1352760 -> 1352768 bytes
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerListener.java2
2 files changed, 1 insertions, 1 deletions
diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar
index 0156966..4cc2436 100644
--- a/out/artifacts/Resurrection_jar/Resurrection.jar
+++ b/out/artifacts/Resurrection_jar/Resurrection.jar
Binary files 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<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();