small fixes

This commit is contained in:
unknown
2021-11-28 22:09:13 -05:00
parent 7043a7d15d
commit 0664552799
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ local function reg_simple(name, def)
item = item[math.random(#item)]
end
minetest.spawn_item(dpos, item)
minetest.add_item(dpos, item)
if not minetest.is_creative_enabled(pname) then
itemstack:take_item()

View File

@ -1 +1 @@
optional_depends = "screwdriver"
optional_depends = screwdriver