The Bug:
The servers crashes when endermen teleport while the world border is outside the maximum world size.
The same core problem can also be seen when players eat chorus fruit, however, they are disconnected from the server without the server crashing.
Steps to Reproduce:
Set
max-world-sizeto 1000 in theserver.propertiesfile of a server before starting it.Join the server and switch to creative mode.
Move the world border outside the maximum world size by using the commands provided below.
/worldborder center 5000 5000/worldborder set 10Fly into some water and summon an enderman using the command provided below.
/summon minecraft:endermanObserve if the server crashes.
Observed Behavior:
The server crashes.
Expected Behavior:
The server would not crash.