Skip to content

Commit

Permalink
fix present digging/drop
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames committed Dec 21, 2019
1 parent bc8228f commit 960fe5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ local function register_present(name, description, colorCode)
can_dig = function(pos)
local item = christmas.loot[math.random(1, #christmas.loot)]
minetest.add_item(pos, item)
return true
minetest.remove_node(pos)
return false
end
})
end
Expand Down

1 comment on commit 960fe5d

@thomasrudin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uhm, thanks 👍

Please sign in to comment.