SteamWar/BauSystem2.0
Archiviert
12
0

Hotfix Config
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2024-02-17 09:32:26 +01:00
Ursprung 8053796341
Commit cc15781b44

Datei anzeigen

@ -97,7 +97,7 @@ public class Config implements Listener {
public void saveAll() { public void saveAll() {
playerConfigurations.forEach((uuid, yapionObject) -> { playerConfigurations.forEach((uuid, yapionObject) -> {
String string = yapionObject.toYAPION(new StringOutput()).getResult(); String string = yapionObject.toYAPION(new StringOutput()).getResult().replaceAll("\\+", "\\");
UserConfig.updatePlayerConfig(uuid, "bausystem", string); UserConfig.updatePlayerConfig(uuid, "bausystem", string);
}); });
playerConfigurations.clear(); playerConfigurations.clear();
@ -112,7 +112,7 @@ public class Config implements Listener {
UUID uuid = player.getUniqueId(); UUID uuid = player.getUniqueId();
if (playerConfigurations.containsKey(uuid)) { if (playerConfigurations.containsKey(uuid)) {
YAPIONObject yapionObject = playerConfigurations.get(uuid); YAPIONObject yapionObject = playerConfigurations.get(uuid);
String string = yapionObject.toYAPION(new StringOutput()).getResult(); String string = yapionObject.toYAPION(new StringOutput()).getResult().replaceAll("\\+", "\\");
UserConfig.updatePlayerConfig(uuid, "bausystem", string); UserConfig.updatePlayerConfig(uuid, "bausystem", string);
} }
} }