mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-12-01 02:53:01 +00:00
Paintings: Move closer to wall
This commit is contained in:
parent
95b3b4a172
commit
f0d511bd4a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue