aboutsummaryrefslogtreecommitdiff
path: root/src/net
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 /src/net
parentfb55c65cf129d610eee652c76a8c0744c1921169 (diff)
downloadresurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar
resurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar.gz
resurrection-176eb6df74e3ce8c93e6b4944f84807363b2ad30.tar.bz2
fixed spawning below bedrock
Diffstat (limited to 'src/net')
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerListener.java2
1 files changed, 1 insertions, 1 deletions
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();