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 --- src/net/brysonsteck/Resurrection/player/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/brysonsteck/Resurrection') 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