gnembon / fabric-carpet

Fabric Carpet
MIT License
1.73k stars 275 forks source link

breaks player_head didn't fire 'player_breaks_block' event on survival mode @server #1969

Open FredXe opened 3 months ago

FredXe commented 3 months ago

What I do

breaking player_head on survival mode in my server

What I expect

__on_player_breaks_block or handle_event('player_breaks_block', _() ) receive the event

What it behaves

Not calling the callback, it receives on single player world, but the issue happends on server. No err/warn were logged during the issue happends both client and server.

I haven't tested all blocks/gamemodes but it seems happends only when I break player_head on survival mode. Somehow the player_head that trade from vanilla_tweaks's wandering trades datapack fires the event normally.

My env

term version/info
docker image fallenbreath/pterodactyl-yolks:minecraft-runtime-21
Minecraft ver 1.21
fabric loader 0.15.11
fabric-carpet 1.4.147

runs in MCDReforged

term version/info
OS Windows 10 Pro 22H2
Minecraft ver 1.21
fabric loader 0.15.11
fabric-carpet 1.4.147

I'm having many mods installed on client side, I can attach it if needed

both fabric-carpet on client/server are download from here, the release assets' build

Some of my test data