Skip to content

Commit

Permalink
fix: armor ignored in 1.9+ kits
Browse files Browse the repository at this point in the history
  • Loading branch information
RoinujNosde authored Sep 29, 2023
1 parent 03480c8 commit 7786fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/roinujnosde/titansbattle/types/Kit.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ public ItemStack[] getContents() {

public void set(@NotNull Player player) {
PlayerInventory inventory = player.getInventory();
inventory.setContents(contents);
inventory.setHelmet(helmet);
inventory.setChestplate(chestplate);
inventory.setLeggings(leggings);
inventory.setBoots(boots);
inventory.setContents(contents);
}

public static boolean inventoryHasItems(@NotNull Player player) {
Expand Down

0 comments on commit 7786fea

Please sign in to comment.