mirror of
https://github.com/mt-mods/home_workshop_modpack.git
synced 2024-11-15 23:20:22 +01:00
remove unused node registration function
This commit is contained in:
parent
fc7c0ff095
commit
ee4cbef811
|
@ -58,18 +58,6 @@ computers.register = function (name, def)
|
|||
})
|
||||
end
|
||||
|
||||
computers.register_handheld = function (name, def)
|
||||
if (name:sub(1, 1) == ":") then name = name:sub(2) end
|
||||
local modname, basename = name:match("^([^:]+):(.*)")
|
||||
local TEXPFX = modname.."_"..basename.."_inv"
|
||||
local ONSTATE = modname..":"..basename
|
||||
minetest.register_craftitem(ONSTATE, {
|
||||
description = def.description,
|
||||
inventory_image = TEXPFX..".png",
|
||||
wield_image = TEXPFX..".png"
|
||||
})
|
||||
end
|
||||
|
||||
computers.pixelnodebox = function (size, boxes)
|
||||
local fixed = { }
|
||||
for _, box in ipairs(boxes) do
|
||||
|
|
Loading…
Reference in New Issue
Block a user