Dying Ducks Force Disconnect
TombCruisin opened this issue · 2 comments
v0.6.0 Untitled Duck Mod
On a 1.19 Fabric multiplayer server, if a duck or duckling is killed, players nearby the duck are instantly disconnected, without crashing. The client displays this error:
Internal Exception: io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Can't find id for 'net.minecraft.class_3414@243c134a' in map Registry[ResourceKey[minecraft:root / minecraft:sound_event] (Experimental)]
Players are then able to reconnect without any issues. The duck is dead, with its drops properly spawning in its place. This issue is not present when in singleplayer. Geese are completely unaffected by this issue, singleplayer or multiplayer.
My best guess is the server is having trouble playing the death sound for ducks.