From 10f2e4a9772e48d677ca5609cd3c5e33e3ffd177 Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Thu, 1 Mar 2018 22:56:42 -0800 Subject: [PATCH] Check for no mapheight for w/e reason --- .../massivecraft/factions/zcore/persist/MemoryFPlayer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java index 2e594e1d..f47bcf3c 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java @@ -922,6 +922,10 @@ public abstract class MemoryFPlayer implements FPlayer { } public int getMapHeight() { + if (this.mapHeight == 0) { + this.mapHeight = Conf.mapHeight; + } + return this.mapHeight; }