This commit is contained in:
Elias Fleckenstein 2021-01-23 16:19:50 +01:00
commit 73d6533aff

@ -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))