Fix pressure plates being pressed by new chest size

this fixes the problem for chests, with paintings it would need to
go down considerably ( .65 was the value i determined)
This commit is contained in:
cora 2022-11-26 01:15:42 +01:00
parent 3066d966a1
commit ba7da6a885

View File

@ -37,7 +37,7 @@ local function pp_on_timer(pos, elapsed)
end end
end end
local objs = minetest.get_objects_inside_radius(pos, 1) local objs = minetest.get_objects_inside_radius(pos, .99)
if node.name == basename .. "_on" then if node.name == basename .. "_on" then
local disable local disable