mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 16:27:45 +00:00
Fix blocks without subtypes not working in auto chisel
This commit is contained in:
1 parent
a15ce829fd
commit
7c6f07f872
1 file changed
+1
-1
@@ -170,7 +170,7 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
|
||||
// need to check NBT as well as item
|
||||
if (toMerge.isItemEqual(inventory[OUTPUT]) && ItemStack.areItemStackTagsEqual(toMerge, inventory[OUTPUT])) {
|
||||
// we only care about metadata if the item has subtypes
|
||||
return toMerge.getHasSubtypes() && toMerge.getItemDamage() == inventory[OUTPUT].getItemDamage();
|
||||
return !toMerge.getHasSubtypes() || toMerge.getItemDamage() == inventory[OUTPUT].getItemDamage();
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user