Merge remote-tracking branch 'origin/master'
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Commit
1e214d49d5
@ -139,8 +139,12 @@ public class SimulatorStorage implements Enable, Disable {
|
|||||||
}
|
}
|
||||||
if (file.getName().endsWith(".yapion")) {
|
if (file.getName().endsWith(".yapion")) {
|
||||||
String name = file.getName().substring(0, file.getName().length() - 7);
|
String name = file.getName().substring(0, file.getName().length() - 7);
|
||||||
SteamwarUser steamwarUser = SteamwarUser.get(Integer.parseInt(name));
|
try {
|
||||||
convert(file, steamwarUser);
|
SteamwarUser steamwarUser = SteamwarUser.get(Integer.parseInt(name));
|
||||||
|
convert(file, steamwarUser);
|
||||||
|
} catch (Exception e) {
|
||||||
|
file.delete();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
String name = file.getName().substring(0, file.getName().length() - ".simulator".length());
|
String name = file.getName().substring(0, file.getName().length() - ".simulator".length());
|
||||||
tntSimulators.put(name, new TNTSimulator(yapionObject));
|
tntSimulators.put(name, new TNTSimulator(yapionObject));
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren