forked from mtcontrib/3d_armor
Fix error in previous commit
This commit is contained in:
parent
b76508397f
commit
ecfd397d77
@ -396,9 +396,9 @@ if ARMOR_DROP == true or ARMOR_DESTROY == true then
|
|||||||
if ARMOR_DESTROY == false then
|
if ARMOR_DESTROY == false then
|
||||||
if minetest.get_modpath("bones") then
|
if minetest.get_modpath("bones") then
|
||||||
minetest.after(ARMOR_BONES_DELAY, function()
|
minetest.after(ARMOR_BONES_DELAY, function()
|
||||||
|
pos = vector.round(pos)
|
||||||
local node = minetest.get_node(pos)
|
local node = minetest.get_node(pos)
|
||||||
if node.name == "bones:bones" then
|
if node.name == "bones:bones" then
|
||||||
pos = vector.round(pos)
|
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local owner = meta:get_string("owner")
|
local owner = meta:get_string("owner")
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
Loading…
Reference in New Issue
Block a user