Sponge
Sponge copied to clipboard
Hunger not reverted for client on cancelled cake eating
Affected Product(s)
SpongeVanilla
Version
1.21.1-12.0.0-RC1784
Operating System
Linux
Java Version
21
Plugins/Mods
Plugins (18)
Minecraft v1.21.1
SpongeAPI v12.0.0-SNAPSHOT
Sponge v1.21.1-12.0.0-SNAPSHOT
SpongeVanilla v1.21.1-12.0.0-RC1784
LemonadeStand v1.0.1-SNAPSHOT
WorldEdit v7.3.7-SNAPSHOT+6896-6e37730
LemonSqueezer v1.0.1-SNAPSHOT
LuckPerms v5.4.139
spark-sponge8 v1.10.93
Treaty v1.0.0
NuVotifier v3.0.0-SNAPSHOT+9d69da2
ViaVersion v1.0.1
Orbis v1.0.0-SNAPSHOT
PacketEvents v2.5.0+e0b9d6813-SNAPSHOT
Spelare v1.0.1-SNAPSHOT
Pharus v1.0.0-SNAPSHOT
Masquerade v1.0.2-SNAPSHOT
Battlegrounds v3.1.2
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 as setUseBlockResult
however this had no effect.
Link to logs
No response