When cancelling a player from eating a cake with InteractBlockEvent.Secondary, the player's hunger visually increases however this is purely clientside. It seems that the food data of the player needs to be resynced. I also attempted to use the other methods such as setUseBlockResult however this had no effect.
Affected Product(s)
SpongeVanilla
Version
1.21.1-12.0.0-RC1784
Operating System
Linux
Java Version
21
Plugins/Mods
Describe the bug
When cancelling a player from eating a cake with
InteractBlockEvent.Secondary
, the player's hunger visually increases however this is purely clientside. It seems that the food data of the player needs to be resynced. I also attempted to use the other methods such assetUseBlockResult
however this had no effect.Link to logs
No response