Skip to content

Commit

Permalink
Use new height
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq committed Jun 28, 2022
1 parent cb70ae4 commit 1b90e26
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ public boolean checkSpawn(Location location) {
}

public int getHighestY(World world, int x, int z) {
int i = 255;
while (i > 0) {
int i = 320;
while (i > -64) {
if (!Blocks.isEmpty(new Location(world, x, i, z).getBlock())) {
if (config.getBoolean("debug-mode"))
plugin.getLogger().info(Integer.toString(i));
Expand Down

0 comments on commit 1b90e26

Please sign in to comment.