Dieser Commit ist enthalten in:
Ursprung
27627c3b41
Commit
b73af3e2ec
@ -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);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren