SteamWar/FightSystem
Archiviert
13
1

Fix schem deleted bug
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2023-12-03 20:55:36 +01:00
Ursprung 75152abc0b
Commit 6396264194

Datei anzeigen

@ -98,12 +98,12 @@ public class FightStatistics {
Integer redSchem; Integer redSchem;
try { try {
blueSchem = SchematicNode.getSchematicNode(Fight.getBlueTeam().getSchematic()).getId(); blueSchem = SchematicNode.getSchematicNode(Fight.getBlueTeam().getSchematic()).getId();
} catch (SecurityException e) { } catch (NullPointerException e) {
blueSchem = null; blueSchem = null;
} }
try { try {
redSchem = SchematicNode.getSchematicNode(Fight.getRedTeam().getSchematic()).getId(); redSchem = SchematicNode.getSchematicNode(Fight.getRedTeam().getSchematic()).getId();
} catch (SecurityException e) { } catch (NullPointerException e) {
redSchem = null; redSchem = null;
} }