Modified Boots for 3D_armor update compatibility
This commit is contained in:
parent
f0173d8da8
commit
4e1f9f243a
@ -3,7 +3,8 @@ local S = axinitium.intllib
|
||||
local timer = 0
|
||||
|
||||
local function add_priv_wear(player)
|
||||
local inv = player:get_inventory()
|
||||
local invname = player:get_player_name()
|
||||
local inv = minetest.get_inventory({type="detached", name=invname.."_armor"})
|
||||
if inv then
|
||||
local list = inv:get_list("armor")
|
||||
for index, stack in pairs(list) do
|
||||
|
Loading…
x
Reference in New Issue
Block a user