Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Aug 22, 2024
1 parent 834efe5 commit 1da88bf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,12 @@ public void set(@NotNull final ItemStack stack)
}
}


index = 3;
int eqIndex = 0;
for (EquipmentSlot equipmentSlot : EquipmentSlot.values())
{
if (equipmentSlot.getType() == EquipmentSlot.Type.HUMANOID_ARMOR)
{
eqIndex++;
this.addSlot(
new Slot(new SimpleContainer(inventory.getArmorInSlot(equipmentSlot)), 0, INVENTORY_BAR_SIZE + 215,
23 + eqIndex * PLAYER_INVENTORY_OFFSET_EACH)
Expand Down Expand Up @@ -238,6 +236,7 @@ public boolean mayPlace(final ItemStack stack)
}
});
index--;
eqIndex++;
}
}

Expand Down

0 comments on commit 1da88bf

Please sign in to comment.