Skip to content

Sounds not working in 1.21.1 #701

Description

@FalcoG

Hi, sounds are currently not working. There is an error in the server log and the player disconnects as well.

To reproduce:

  1. /playsound minecraft:entity.tnt.primed
  2. No sound played, server error and a disconnect

Alternative way (with the same result):

  1. /give username red_shulker_box 1
  2. Right-click the box
  3. No sound played, server error and a disconnect

Error logged on the server:

    at Object.ItemSoundHolder (eval at compile (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/compiler.js:262:12), <anonymous>:722:17)
    at Object.packet_sound_effect (eval at compile (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/compiler.js:262:12), <anonymous>:3599:36)
    at eval (eval at compile (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/compiler.js:262:12), <anonymous>:4147:64)
    at packet (eval at compile (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/compiler.js:262:12), <anonymous>:4169:9)
    at CompiledProtodef.sizeOf (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/compiler.js:89:14)
    at e.message (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/compiler.js:96:40)
    at tryCatch (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/utils.js:50:16)
    at CompiledProtodef.createPacketBuffer (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/compiler.js:96:20)
    at Serializer.createPacketBuffer (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/serializer.js:12:23)
    at Serializer._transform (file:///Users/falco/dev/flying-squid-server/node_modules/protodef/src/serializer.js:18:18)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions