From ba7da6a885324d9b67c9e2c5424437800f5fb601 Mon Sep 17 00:00:00 2001 From: cora Date: Sat, 26 Nov 2022 01:15:42 +0100 Subject: [PATCH] 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) --- mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua b/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua index 9094d53c1..a453d1981 100644 --- a/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua +++ b/mods/ITEMS/REDSTONE/mesecons_pressureplates/init.lua @@ -37,7 +37,7 @@ local function pp_on_timer(pos, elapsed) 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 local disable