block destroyEffect (#5427)

This commit is contained in:
MEEP of Faith
2021-06-16 12:55:08 -07:00
committed by GitHub
parent 9088d9eb39
commit a74bc0c077
3 changed files with 10 additions and 3 deletions

View File

@@ -1059,7 +1059,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
});
}
Damage.dynamicExplosion(x, y, flammability, explosiveness * 3.5f, power, tilesize * block.size / 2f, state.rules.damageExplosions);
Damage.dynamicExplosion(x, y, flammability, explosiveness * 3.5f, power, tilesize * block.size / 2f, state.rules.damageExplosions, block.destroyEffect);
if(!floor().solid && !floor().isLiquid){
Effect.rubble(x, y, block.size);