From 23b50efb4b2b0a500d05f82656d5267f6477e6dc Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 24 Nov 2021 17:19:57 +0100 Subject: [PATCH] Hotfix WorldData Signed-off-by: yoyosource --- .../src/de/steamwar/bausystem/worlddata/WorldData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }); } }