Skip to content

Commit

Permalink
fix: attempt at clearing kit armor
Browse files Browse the repository at this point in the history
  • Loading branch information
RoinujNosde authored Aug 5, 2023
1 parent c35279d commit 2232a30
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 2232a30

Please sign in to comment.