diff --git a/TODO.txt b/TODO.txt index 49f861e..349ee04 100644 --- a/TODO.txt +++ b/TODO.txt @@ -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 diff --git a/changelog.txt b/changelog.txt index d90f506..ad0ba95 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 ---- diff --git a/tnt_function.lua b/tnt_function.lua index 40d10cc..21a6a3a 100644 --- a/tnt_function.lua +++ b/tnt_function.lua @@ -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