summaryrefslogtreecommitdiff
path: root/node_crate.lua
diff options
context:
space:
mode:
Diffstat (limited to 'node_crate.lua')
-rw-r--r--node_crate.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/node_crate.lua b/node_crate.lua
index a9e91ac..9168911 100644
--- a/node_crate.lua
+++ b/node_crate.lua
@@ -29,6 +29,8 @@ minetest.register_node("digtron:empty_crate", {
return
end
+ digtron.award_crate(layout, clicker:get_player_name())
+
local layout_string = layout:serialize()
-- destroy everything. Note that this includes the empty crate, which will be bundled up with the layout.