![[Legacy] GeckoLib Fabric](https://media.forgecdn.net/avatars/thumbnails/610/295/256/256/637992132011410133.png)
[1.20.1] v4.71 breaks `AbstractContainerMenu` slot listener implementation due to faulty Mixin code
Fuzss opened this issue ยท 0 comments
This is causing problems like this one: Fuzss/easyanvils#96
The issue lies here:
This should be:
public boolean geckolib$forceGeckolibIdSync(ItemStack stack, ItemStack other) {
return ItemStack.matches(stack, other) &&
(!stack.hasTag() || !stack.getTag().contains(GeoItem.ID_NBT_KEY) ||
!other.hasTag() || !other.getTag().contains(GeoItem.ID_NBT_KEY) ||
stack.getTag().get(GeoItem.ID_NBT_KEY).equals(other.getTag().get(GeoItem.ID_NBT_KEY)));
}
Also goes for the other method in the class.