diff options
Diffstat (limited to 'data/scripts/default.lua')
-rw-r--r-- | data/scripts/default.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/scripts/default.lua b/data/scripts/default.lua index 3ec6f8433..dcc58097b 100644 --- a/data/scripts/default.lua +++ b/data/scripts/default.lua @@ -162,6 +162,8 @@ end -- Called when object is punched function TNT:on_punch(hitter) print("TNT:on_punch()") + self.object:remove() + hitter:add_to_inventory("CraftItem testobject1 1") end -- Called when object is right-clicked |