[Bug] - Server crash - Ticking block entity - TotemTileEntity
Rutes opened this issue ยท 4 comments
Versions
-
Minecraft: 1.16.5
-
Forge: 1.16.5-36.0.46
-
Vampirism: 1.16.4-1.7.7
-
ModPack: Less Tech More Dragon
Issue Description
server crashes when a player enters a specific area with Vampirism village capture totem
Reproduce Steps
I launch my server, player approaches the area, server crashes.
Additional Information
crash log in WRLTech/Less-Tech-More-Dragon#6
Do you mean it crashed only the first time you got there but after a restart/reload every thing works?
@Cheaterpaul
We definitively need a null check there, just getting a TileEntity from a cached position can always be null.
The only question is what to do in that case... Just delete the cached position ... One possible scenario would be that in large villages the other totem's chunk isn't loaded yet. If it is loaded later on, it would probably be destroyed, right? Or do we have any mechanism for that in place
Similar crash again today - crash report here: WRLTech/Less-Tech-More-Dragon#6
full logs if you like: https://gist.github.com/Rutes/1b931d95ca1935a11394f2c4123f9d0e
Looks like it was a different totem in another area this time. So maybe it's crashing upon creation of the totem when a player is exploring? After a reboot the area seems fine.