fixed spawning below bedrock
This commit is contained in:
parent
fb55c65cf1
commit
176eb6df74
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue