Skip to content

Commit 4d29217

Browse files
committed
Disableed chest on body slot for now
1 parent 1070c66 commit 4d29217

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • src/main/java/com/hanprogramer/androids/entities/android/slots

src/main/java/com/hanprogramer/androids/entities/android/slots/ArmorSlot.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ public boolean canInsert(ItemStack stack) {
4848
if (stack.isEmpty()) {
4949
return false;
5050
}
51-
52-
if (armorType == EquipmentSlot.CHEST) {
53-
var item = stack.getItem();
54-
if (item.equals(Items.CHEST)) return true;
55-
else if (item.equals(Items.BARREL)) return true;
56-
}
51+
// DISABLED - unimplemented
52+
// if (armorType == EquipmentSlot.CHEST) {
53+
// var item = stack.getItem();
54+
// if (item.equals(Items.CHEST)) return true;
55+
// else if (item.equals(Items.BARREL)) return true;
56+
// }
5757

5858
// Check if item is armor and matches the correct type using utility class
5959
return ArmorUtils.isArmorOfType(stack, this.armorType);

0 commit comments

Comments
 (0)