We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1070c66 commit 4d29217Copy full SHA for 4d29217
1 file changed
src/main/java/com/hanprogramer/androids/entities/android/slots/ArmorSlot.java
@@ -48,12 +48,12 @@ public boolean canInsert(ItemStack stack) {
48
if (stack.isEmpty()) {
49
return false;
50
}
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
- }
+// DISABLED - unimplemented
+// if (armorType == EquipmentSlot.CHEST) {
+// var item = stack.getItem();
+// if (item.equals(Items.CHEST)) return true;
+// else if (item.equals(Items.BARREL)) return true;
+// }
57
58
// Check if item is armor and matches the correct type using utility class
59
return ArmorUtils.isArmorOfType(stack, this.armorType);
0 commit comments