ValkyrienSkies / Valkyrien-Skies

Moving structures powered by a custom multi-threaded physics engine; in Minecraft.
https://valkyrienskies.org/
Apache License 2.0
161 stars 39 forks source link

Server crash when attempting to telepose PSI spells onto a ship #480

Open LordDarthDan opened 3 years ago

LordDarthDan commented 3 years ago

While the teleportation of entities onto Valkyrien Skies ships leads to many bugs, this is the worst one I've come accross so far. When teleporting a Psi spell entity onto a ship via a Blood Magic teleposer, the game crashes instanly without a fault, immediately after executing the spell (and successfully giving out the spell result).

Teleposing people, items, or simple entities like arrows works perfectly fine. Players end up on the ship in "real space" while arrows in "shipyard space", yet are still teleposed successfully with no crashes. The crash report is the only log that contains any info, latest.log contains only the line: "[19:52:41] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded."

Version info:

What I expected: the spell entity being teleposed to the shipyard coordinates and reporting these coordinates to me (as proof that I can interact with the ship through PSI spells) What happened: the spell entity was teleposed to the shipyard coordinates and reporthed them to me, then the local server crashed.

Steps to reproduce:

crash-2021-02-12_19.52.35-server.txt