Skip to content

Commit

Permalink
Fix building above bounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
wizjany committed Apr 16, 2019
1 parent 2a1fdf4 commit 99da55d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -428,7 +428,7 @@ public void setWeather(WeatherType weatherType, long duration) {

@Override
public int getMaxY() {
return getWorld().getHeight();
return getWorld().getHeight() - 1;
}

@Override
Expand Down

0 comments on commit 99da55d

Please sign in to comment.