Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wsor4035 committed Nov 29, 2021
1 parent 7043a7d commit 0664552
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion home_vending_machines/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion home_vending_machines/mod.conf
Original file line number Diff line number Diff line change
@@ -1 +1 @@
optional_depends = "screwdriver"
optional_depends = screwdriver
2 changes: 1 addition & 1 deletion home_workshop_misc/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0664552

Please sign in to comment.