forked from VoxeLibre/VoxeLibre
Paintings: Move closer to wall
This commit is contained in:
parent
95b3b4a172
commit
f0d511bd4a
|
@ -226,7 +226,7 @@ minetest.register_craftitem("mcl_paintings:painting", {
|
||||||
end
|
end
|
||||||
local _, exmax = size_to_minmax_entity(xsize)
|
local _, exmax = size_to_minmax_entity(xsize)
|
||||||
local _, eymax = size_to_minmax_entity(ysize)
|
local _, eymax = size_to_minmax_entity(ysize)
|
||||||
local pposa = vector.subtract(ppos, vector.multiply(dir, 0.5-2/64))
|
local pposa = vector.subtract(ppos, vector.multiply(dir, 0.5-5/256))
|
||||||
local pexmax
|
local pexmax
|
||||||
local peymax = eymax - 0.5
|
local peymax = eymax - 0.5
|
||||||
if negative then
|
if negative then
|
||||||
|
|
Loading…
Reference in New Issue