From 94840ec2efb3f0b413c8f02c73d6fbf02f52ec8a Mon Sep 17 00:00:00 2001 From: kay27 Date: Sat, 23 Jan 2021 00:41:16 +0400 Subject: [PATCH] Fix black chests, https://git.minetest.land/Wuzzy/MineClone2/issues/995 --- mods/ITEMS/mcl_chests/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_chests/init.lua b/mods/ITEMS/mcl_chests/init.lua index c3b3df7808..a695eb7c7d 100644 --- a/mods/ITEMS/mcl_chests/init.lua +++ b/mods/ITEMS/mcl_chests/init.lua @@ -123,7 +123,7 @@ minetest.register_entity("mcl_chests:chest", { local function get_entity_pos(pos, dir, double) pos = vector.new(pos) - pos.y = pos.y - 0.5 + pos.y = pos.y - 0.49 if double then local add, mul, vec, cross = vector.add, vector.multiply, vector.new, vector.cross pos = add(pos, mul(cross(dir, vec(0, 1, 0)), -0.5))