Skip to content
Snippets Groups Projects
Commit e0f401ba authored by Milan's avatar Milan
Browse files

use cottages:hammer, remove xdecor:hammer

parent 225bc22f
No related branches found
No related tags found
No related merge requests found
......@@ -21,11 +21,5 @@ minetest.register_craftitem("xdecor:bowl_soup", {
end
})
minetest.register_tool("xdecor:hammer", {
description = "Hammer",
inventory_image = "xdecor_hammer.png",
wield_image = "xdecor_hammer.png",
on_use = function() do return end end
})
minetest.register_alias("xdecor:hammer", "cottages:hammer")
minetest.register_alias("xdecor:honey", "mobs:honey")
default
bucket
cottages
mobs
homedecor
doors
......
......@@ -155,7 +155,7 @@ function workbench.put(_, listname, _, stack)
local stackname = stack:get_name()
if (listname == "tool" and stack:get_wear() > 0 and workbench:repairable(stackname)) or
(listname == "input" and minetest.registered_nodes[stackname.."_cube"]) or
(listname == "hammer" and stackname == "xdecor:hammer") or
(listname == "hammer" and stackname == "cottages:hammer") or
listname == "storage" then
return stack:get_count()
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment