fix: falling blocks would pass-thru/delete nonsolid blocks

This commit is contained in:
minjaesong
2023-09-15 19:07:16 +09:00
parent 61f0528205
commit 016c23a97f

View File

@@ -243,7 +243,7 @@ object WorldSimulator {
val currentTile = world.getTileFromTerrain(x, y)
val prop = BlockCodex[currentTile]
// don't let the falling sand destroy the precious storage chest
val isAir = !prop.isSolid && !prop.isActorBlock
val isAir = prop.hasTag("INCONSEQUENTIAL")
val support = prop.maxSupport
val isFallable = support != -1