From ecfd397d77fb15d5caadf49d1bc92a2f10e90505 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Tue, 15 Apr 2014 22:06:47 +0100 Subject: [PATCH] Fix error in previous commit --- 3d_armor/armor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3d_armor/armor.lua b/3d_armor/armor.lua index d03ae80..cdbb2f0 100644 --- a/3d_armor/armor.lua +++ b/3d_armor/armor.lua @@ -396,9 +396,9 @@ if ARMOR_DROP == true or ARMOR_DESTROY == true then if ARMOR_DESTROY == false then if minetest.get_modpath("bones") then minetest.after(ARMOR_BONES_DELAY, function() + pos = vector.round(pos) local node = minetest.get_node(pos) if node.name == "bones:bones" then - pos = vector.round(pos) local meta = minetest.get_meta(pos) local owner = meta:get_string("owner") local inv = meta:get_inventory()