diff --git a/BauSystem_Main/src/de/steamwar/bausystem/region/Prototype.java b/BauSystem_Main/src/de/steamwar/bausystem/region/Prototype.java index c8cd7a4d..1c1815ae 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/region/Prototype.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/region/Prototype.java @@ -67,9 +67,9 @@ public class Prototype { sizeY = yapionObject.getPlainValue("sizeY"); sizeZ = yapionObject.getPlainValue("sizeZ"); - copyPointOffsetX = yapionObject.getPlainValue("copyOffsetX"); - copyPointOffsetY = yapionObject.getPlainValue("copyOffsetY"); - copyPointOffsetZ = yapionObject.getPlainValue("copyOffsetZ"); + copyPointOffsetX = yapionObject.getPlainValueOrDefault("copyOffsetX", 0); + copyPointOffsetY = yapionObject.getPlainValueOrDefault("copyOffsetY", 0); + copyPointOffsetZ = yapionObject.getPlainValueOrDefault("copyOffsetZ", 0); schematicFile = new File(yapionObject.getValue("schematic", String.class).get());