mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-25 22:13:42 +01:00
Shields: Remove registration delay, closes #88
This commit is contained in:
parent
ca79d39688
commit
8f5ffeb384
@ -1,5 +1,9 @@
|
||||
local use_moreores = minetest.get_modpath("moreores")
|
||||
|
||||
if minetest.global_exists("armor") and armor.elements then
|
||||
table.insert(armor.elements, "shield")
|
||||
end
|
||||
|
||||
-- Regisiter Shields
|
||||
|
||||
minetest.register_tool("shields:shield_admin", {
|
||||
@ -119,8 +123,3 @@ for k, v in pairs(ARMOR_MATERIALS) do
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
minetest.after(0, function()
|
||||
table.insert(armor.elements, "shield")
|
||||
end)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user