Fabric API

Fabric API

108M Downloads

FabricItem#allowNbtUpdateAnimation should not be called when the slot changes

Technici4n opened this issue ยท 2 comments

commented

When the currently selected slot changes, the animation should always run, even if the stacks are identical. Currently, the previous and current stacks are compared directly, which does not allow detecting such slot changes.

commented

(Note: it might be possible to work around this using the passed player, I'm not too sure)

commented

This is actually vanilla behavior too, so nothing to worry about.