mojira.dev
MC-311066

/item command can crash game/server even without executing it

Typing this below command crashes game (in singleplayer), or the remote server. It doesn’t need to be executed.

Steps to reproduce the issue

Reproduce it by typing this command:

/item replace entity @s armor.head from entity @s {}

Expected result

Client/Server should not crash. Notice that these brackets are not interpreted as syntax error - a second before crashing they are being colored (to pink).

Actual result

A crash occurs about one second later after typing closing curly brace character.

Reason pointed in crash log:

java.lang.StackOverflowError: Exception in server tick loop

Linked issues

Attachments

Comments 1

maciejke

(Unassigned)

Confirmed

Crash

26.3 Snapshot 8

Retrieved