mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 14:34:28 +00:00
Fix issue with equality logic in inv panel database (Ref #2755)
This commit is contained in:
1 parent
e64a031563
commit
c0faf540cc
1 file changed
+1
-1
@@ -34,7 +34,7 @@ public class ItemEntryBase {
|
||||
}
|
||||
|
||||
boolean equals(int itemID, int meta, NBTTagCompound nbt) {
|
||||
return this.itemID == itemID && this.meta == meta && (this.nbt == nbt) || (this.nbt != null && this.nbt.equals(nbt));
|
||||
return this.itemID == itemID && this.meta == meta && ((this.nbt == nbt) || (this.nbt != null && this.nbt.equals(nbt)));
|
||||
}
|
||||
|
||||
public Item getItem() {
|
||||
|
||||
Reference in new issue
Block a user