[Rseding91] [1.0.0] Can't make an indestructible entity die()
Posted: Sat Sep 19, 2020 1:57 pm
In the documentation for LuaEntity.die() it says "Doesn't care whether the entity is destroyable or damageable." This suggests that if a normally-destructible entity is made indestructible, it can still die(). However, if you try the following, the entity is not killed:
If this is the case, then either the documentation is inaccurate or there is a bug with die().
Thanks.
Code: Select all
some_entity.destructible = false
some_entity.die()
Thanks.