diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/utils/FightStatistics.java b/FightSystem_Core/src/de/steamwar/fightsystem/utils/FightStatistics.java index 7467e0e..df12a82 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/utils/FightStatistics.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/utils/FightStatistics.java @@ -98,12 +98,12 @@ public class FightStatistics { Integer redSchem; try { blueSchem = SchematicNode.getSchematicNode(Fight.getBlueTeam().getSchematic()).getId(); - } catch (SecurityException e) { + } catch (NullPointerException e) { blueSchem = null; } try { redSchem = SchematicNode.getSchematicNode(Fight.getRedTeam().getSchematic()).getId(); - } catch (SecurityException e) { + } catch (NullPointerException e) { redSchem = null; }