Skip to content

Commit

Permalink
Merge pull request #111 from RoinujNosde/RoinujNosde-patch-2
Browse files Browse the repository at this point in the history
fix: attempt at clearing kit armor
  • Loading branch information
RoinujNosde authored Aug 27, 2023
2 parents c9e9b8e + 2232a30 commit 8e91eb1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ private void process(@NotNull Player player) {
if (new NBTItem(item).getBoolean(Kit.NBT_TAG)) {
plugin.debug(format("Removing kit item from %s's inventory", player.getName()));
inventory.remove(item);
item.setAmount(0);
}
}
}
Expand Down

0 comments on commit 8e91eb1

Please sign in to comment.