diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java b/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java index e7a0f7c..d437d7e 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java @@ -92,6 +92,8 @@ public class Kit { if(armor != null){ for(int i = 0; i < 4; i++){ + if(armor[i] == null) + continue; SWItem item = new SWItem(); item.setItemStack(armor[i]); inv.setItem(36 + i, item);