SteamWar/BauSystem2.0
Archiviert
12
0

Hotfix SimulatorStorage
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2023-12-16 12:48:52 +01:00
Ursprung 27627c3b41
Commit b73af3e2ec

Datei anzeigen

@ -84,7 +84,9 @@ public class SimulatorStorage implements Enable {
SimulatorFormatSimulatorLoader simulatorFormatSimulatorLoader = new SimulatorFormatSimulatorLoader(); SimulatorFormatSimulatorLoader simulatorFormatSimulatorLoader = new SimulatorFormatSimulatorLoader();
YAPIONFormatSimulatorLoader yapionFormatSimulatorLoader = new YAPIONFormatSimulatorLoader(); YAPIONFormatSimulatorLoader yapionFormatSimulatorLoader = new YAPIONFormatSimulatorLoader();
for (File file : simulatorsDir.listFiles()) { File[] files = simulatorsDir.listFiles();
if (files == null) return;
for (File file : files) {
try { try {
List<Simulator> simulators = simFormatSimulatorLoader.load(file) List<Simulator> simulators = simFormatSimulatorLoader.load(file)
.orElse(null); .orElse(null);