mojira.dev
MC-310096

Invalid item modifiers crash the game

The bug

Item modifiers missing type still parse, and crash the game when executed. When used in a data pack, they prevent the world from loading.

How to reproduce

  1. Hold an item

  2. /item modify entity @s weapon {}

Expected result

Command fails to parse

Observed result

The game crashes

[media]

Linked issues

Attachments

Comments 1

tryashtar

boq

Community Consensus

Platform HC

Very Important

Commands, Data Packs

26.3 Snapshot 4

26.3 Snapshot 5

Retrieved