diff --git a/src/main/java/me/roinujnosde/titansbattle/listeners/ItemsProtectionListener.java b/src/main/java/me/roinujnosde/titansbattle/listeners/ItemsProtectionListener.java index 972d3a76..ebebffe7 100644 --- a/src/main/java/me/roinujnosde/titansbattle/listeners/ItemsProtectionListener.java +++ b/src/main/java/me/roinujnosde/titansbattle/listeners/ItemsProtectionListener.java @@ -53,6 +53,7 @@ private void process(@NotNull Player player) { if (new NBTItem(item).getBoolean(Kit.NBT_TAG)) { plugin.getLogger().log(Level.INFO, format("Removed kit item from %s's inventory", player.getName())); inventory.remove(item); + item.setAmount(0); } } }