mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-15 17:45:08 +00:00
Compare commits
2
Commits
2.4.21
..
2.4.19-pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31671672d3 | ||
|
|
ba9572a0fe |
@@ -96,10 +96,9 @@ public class TileEntityPainter extends AbstractPoweredTaskEntity implements ISid
|
||||
// next result is a different item type
|
||||
return 0;
|
||||
} else if (result.hasTagCompound() && inventory[2].hasTagCompound()) {
|
||||
if (inventory[2].getTagCompound().hasKey("Items")) return 0; // presence of internal items
|
||||
String cookedId = result.getTagCompound().getString(BlockPainter.KEY_SOURCE_BLOCK_ID);
|
||||
String invId = inventory[2].getTagCompound().getString(BlockPainter.KEY_SOURCE_BLOCK_ID);
|
||||
if (!cookedId.equals(invId)) {
|
||||
int cookedId = result.getTagCompound().getInteger(BlockPainter.KEY_SOURCE_BLOCK_ID);
|
||||
int invId = inventory[2].getTagCompound().getInteger(BlockPainter.KEY_SOURCE_BLOCK_ID);
|
||||
if (cookedId != invId) {
|
||||
// next result has a different source item than the current one
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user