SteamWar/BauSystem2.0
Archiviert
12
0

Fix Prototype for old BauWorld

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-07-11 17:14:47 +02:00
Ursprung fe4542c67b
Commit 0f1f8c055c

Datei anzeigen

@ -67,9 +67,9 @@ public class Prototype {
sizeY = yapionObject.getPlainValue("sizeY"); sizeY = yapionObject.getPlainValue("sizeY");
sizeZ = yapionObject.getPlainValue("sizeZ"); sizeZ = yapionObject.getPlainValue("sizeZ");
copyPointOffsetX = yapionObject.getPlainValue("copyOffsetX"); copyPointOffsetX = yapionObject.getPlainValueOrDefault("copyOffsetX", 0);
copyPointOffsetY = yapionObject.getPlainValue("copyOffsetY"); copyPointOffsetY = yapionObject.getPlainValueOrDefault("copyOffsetY", 0);
copyPointOffsetZ = yapionObject.getPlainValue("copyOffsetZ"); copyPointOffsetZ = yapionObject.getPlainValueOrDefault("copyOffsetZ", 0);
schematicFile = new File(yapionObject.getValue("schematic", String.class).get()); schematicFile = new File(yapionObject.getValue("schematic", String.class).get());