diff --git a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java index 908f6b1b..3d0cfe34 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/Region.java @@ -204,6 +204,9 @@ public class Region { if (prototype == null) { return false; } + if (regionType == null) { + return false; + } switch (regionType) { case BUILD: return prototype.getBuild() != null;