mojira.dev
MC-313675

Breaking blocks whose loot tables use uniform bonus counts with negative multipliers disconnects players

The Bug:

Breaking blocks whose loot tables use uniform bonus counts with negative multipliers disconnects players.

Steps to Reproduce:

  1. Create a new world with the attached data pack.

  2. Place down a dirt block and switch to survival mode.

  3. Obtain a wooden shovel enchanted with efficiency by using the command provided below.

    /give @s minecraft:wooden_shovel[minecraft:enchantments={efficiency:1}]
  4. Break the dirt block with the wooden shovel.

  5. Observe if you are disconnected from the world.

Observed Behavior:

You are disconnected from the world with the "Network Protocol Error" message.

Expected Behavior:

You would not be disconnected, and the dirt block would break normally.

Attachments

Comments 1

Avoma

(Unassigned)

Unconfirmed

Networking

26.4 Pre-Release 2

Retrieved