diff --git a/BauSystem_Main/src/de/steamwar/bausystem/worlddata/WorldData.java b/BauSystem_Main/src/de/steamwar/bausystem/worlddata/WorldData.java index 539aaa5a..63f6ffc0 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/worlddata/WorldData.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/worlddata/WorldData.java @@ -75,7 +75,7 @@ public class WorldData { worldData.remove("simulators"); yapionObject.forEach((s, yapionAnyType) -> { SteamwarUser steamwarUser = SteamwarUser.get(Integer.parseInt(s)); - SimulatorData.saveSimulator(steamwarUser, (YAPIONObject) yapionAnyType); + SimulatorData.saveSimulator(steamwarUser, new YAPIONObject().add("", yapionAnyType)); }); } }