Super Factory Manager ( SFM )

Super Factory Manager ( SFM )

16M Downloads

[1.20.1] Quitting world doesn't save and world gets rolled back. (ca.teamdman.sfm.common.handler.FallingAnvilHandler.onLeave)

Gbergz opened this issue ยท 4 comments

commented

What happened?

This issue seems to be rather rare, but it can happen and cause damage.

Info:

Logs tells me something about a FallingAnvilHandler.onLeave.
You can find the logs here: (at the bottom).
https://gist.githubusercontent.com/Gbergz/874f26418760fc77767c3dcd316c6e22/raw/e7c1a8f7006c6af667f57e15f7460f082c81135d/gistfile1.txt

Versions:

Minecraft: 1.20.1
Forge: 47.2.17
SFM: 4.14.1

- Gbergz

commented

This should be fixed in as of 4.15.0

commented

Block block = level.getBlockState(landPosition.below()).getBlock();

Not sure why getting the block state is causing a panic, I recommend avoiding shutting down while anvils are flyingโœˆ๏ธ until a proper fix can be implemented

commented

Yeah I am gonna guess it was an anvil in a structure destroyed by something in the distance causing it to fall then unloaded while falling?, tried 10 worlds after and it didn't happen once

Atleast it's rare.