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