You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Place down multiple of them and explode them with TNT.
Repeat step 2 until the crash happens.
Some notes:
The crash seems to be chance-based. Putting down several such structures and blow them up at once is more likely to trigger it. However, it can still happen when blowing up one at a time.
The structure above is made from three components: trim made from wood block, door made from bone block, and storage made from smooth sandstone.
Technical Investigation
I have only roughly traced the code but it seems that when a structure is exploded, LittleStructure.onLittleTileDestroy() will be called, and perhaps multiple components are removed from the game. However, the following handler
list.getStructure().onLittleTileDestroy(); does not check if the current StructureTileList is removed or not (since a StructureTileList can only have parent of null when its removed).
The text was updated successfully, but these errors were encountered:
What
Exploding nested LittleTiles structures can crash the game. One instance of the crash report is as follows.
crash-2025-02-12_22.58.31-server.txt
Additionally, the log will be flooded by messages like these:
partial-latest.log
Reproduction
Some notes:
Technical Investigation
I have only roughly traced the code but it seems that when a structure is exploded,
LittleStructure.onLittleTileDestroy()
will be called, and perhaps multiple components are removed from the game. However, the following handlerLittleTiles/src/main/java/com/creativemd/littletiles/common/block/BlockTile.java
Lines 1025 to 1042 in 286a797
list.getStructure().onLittleTileDestroy();
does not check if the currentStructureTileList
is removed or not (since aStructureTileList
can only haveparent
ofnull
when its removed).The text was updated successfully, but these errors were encountered: