Check for no mapheight for w/e reason

This commit is contained in:
Trent Hensler 2018-03-01 22:56:42 -08:00
parent 6cb02126f4
commit 10f2e4a977
1 changed files with 4 additions and 0 deletions

View File

@ -922,6 +922,10 @@ public abstract class MemoryFPlayer implements FPlayer {
}
public int getMapHeight() {
if (this.mapHeight == 0) {
this.mapHeight = Conf.mapHeight;
}
return this.mapHeight;
}