diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java b/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java index 22a3247..f508ba2 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/kit/Kit.java @@ -58,7 +58,8 @@ public class Kit { if(armor != null) player.getInventory().setArmorContents(armor); player.updateInventory(); - player.addPotionEffects(effects); + if(effects != null) + player.addPotionEffects(effects); } void saveKit(ConfigurationSection section){