mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-16 16:11:06 +01:00
Move armor factoid to nil group
This commit is contained in:
parent
97d293f8b4
commit
ae7615c557
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ doc.sub.items.register_factoid(nil, "groups", function(itemstring, def)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Armor
|
-- Armor
|
||||||
doc.sub.items.register_factoid("tools", "use", function(itemstring, def)
|
doc.sub.items.register_factoid(nil, "use", function(itemstring, def)
|
||||||
local def = minetest.registered_items[itemstring]
|
local def = minetest.registered_items[itemstring]
|
||||||
local s = ""
|
local s = ""
|
||||||
local head = minetest.get_item_group(itemstring, "armor_head")
|
local head = minetest.get_item_group(itemstring, "armor_head")
|
||||||
|
@ -154,7 +154,7 @@ doc.sub.items.register_factoid("tools", "use", function(itemstring, def)
|
||||||
end
|
end
|
||||||
return s
|
return s
|
||||||
end)
|
end)
|
||||||
doc.sub.items.register_factoid("tools", "groups", function(itemstring, def)
|
doc.sub.items.register_factoid(nil, "groups", function(itemstring, def)
|
||||||
local def = minetest.registered_items[itemstring]
|
local def = minetest.registered_items[itemstring]
|
||||||
local s = ""
|
local s = ""
|
||||||
local use = minetest.get_item_group(itemstring, "mcl_armor_uses")
|
local use = minetest.get_item_group(itemstring, "mcl_armor_uses")
|
||||||
|
|
Loading…
Reference in a new issue