![Function API](https://media.forgecdn.net/avatars/thumbnails/225/971/256/256/637042619739144499.png)
Block activate events firing twice with a single click
crysthala opened this issue ยท 2 comments
Describe the bug
When activating a block, the event sometimes fires twice extremely rapidly.
To Reproduce
Steps to reproduce the behavior:
- Created an
activate
tag for a block - Pointed the tag at a function that runs a
say
command to indicate it's been fired, checks to see if@s
is holding the correct item, and fires a second event if that's the case - If the condition is met, the second event is also fired twice.
Version of the (please complete the following information):
- Mod: 1.2.2
- Fabric API: fabric-api-0.4.0+build.240
- Minecraft: 1.14.4
Additional context Optional
Here, have a latest.log
It fires twice because it happens for both hands! I'm going to add a separate event for the offhand, and the same is going to happen with the item events.