fixed spawning below bedrock

This commit is contained in:
Bryson Steck 2021-07-21 21:36:44 -06:00
parent fb55c65cf1
commit 176eb6df74
2 changed files with 1 additions and 1 deletions

View file

@ -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();