mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-12-27 11:10:39 +01:00
Only round the drop position for bones (deja vu)
This commit is contained in:
parent
14a0eb8cca
commit
4eabd8512a
@ -555,11 +555,10 @@ if ARMOR_DROP == true or ARMOR_DESTROY == true then
|
||||
end
|
||||
if ARMOR_DESTROY == false then
|
||||
minetest.after(ARMOR_BONES_DELAY, function()
|
||||
pos = vector.round(pos)
|
||||
local node = minetest.get_node(pos)
|
||||
local node = minetest.get_node(vector.round(pos))
|
||||
if node then
|
||||
if node.name == "bones:bones" then
|
||||
local meta = minetest.get_meta(pos)
|
||||
local meta = minetest.get_meta(vector.round(pos))
|
||||
local owner = meta:get_string("owner")
|
||||
local inv = meta:get_inventory()
|
||||
for _,stack in ipairs(drop) do
|
||||
|
Loading…
Reference in New Issue
Block a user