Logistics Pipes

Logistics Pipes

13M Downloads

matchingNBTIdentifier method broken

Dev-Time opened this issue ยท 1 comments

commented

I'm using opencomputers and I'm not able to use the matchingNBTIdentifier method. I'm not getting any errors, just an empty list. Looking at the code, I see that the item damage is being compared to the item data, is that the correct implementation?

if (t != null && t.item == item && t.itemDamage == itemData) {

commented

apparently it works if you use the item id number, not the id name