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

View File

@ -91,7 +91,7 @@ if minetest.get_modpath("homedecor_common") then
else
minetest.register_craftitem("home_workshop_misc:drawer_small", {
description = S("Small Wooden Drawer"),
inventory_image = "home_workshop_machines_drawer_small.png",
inventory_image = "home_workshop_common_drawer_small.png",
})
end