1
0
Fork 0

Paintings: Move closer to wall

This commit is contained in:
Wuzzy 2020-05-21 02:16:12 +02:00
parent 95b3b4a172
commit f0d511bd4a
1 changed files with 1 additions and 1 deletions

View File

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