From 4b8452538ec88823ff5ca900843c08c2227dd8f7 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Tue, 20 Jul 2021 11:09:19 -0700 Subject: [PATCH] Remove tnt:boom node after explosion --- changelog.txt | 1 + tnt_function.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/changelog.txt b/changelog.txt index d76d81d..531b61d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ v1.1 ---- - added sound when hit - fixed entity vertical positioning +- 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