Remove tnt:boom node after explosion

This commit is contained in:
Jordan Irwin 2021-07-20 11:09:19 -07:00
parent 2289f6a261
commit e1496df0a6
3 changed files with 2 additions and 1 deletions

@ -2,7 +2,6 @@
TODO:
- add version using mobs_redo API
- add version using cmer API
- fix explosion leaving "tnt:boom" node
- add wear to armor when exploding
- add no-griefing setting
- disable attacking if damage disabled

@ -4,6 +4,7 @@ v1.1
- added sound when hit
- fixed entity vertical positioning
- added setting to customize spawn nodes
- fixed tnt:boom node left after explosion
v1.0
----

@ -301,4 +301,5 @@ function sneeker.boom(pos, large)
entity_physics(pos, radius)
eject_drops(drops, pos, radius)
add_effects(pos, radius)
core.remove_node(pos)
end