From 05d9611a9d63efeaf39bc5970cbd176bd85e266f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20=C3=85str=C3=B6m?= Date: Tue, 10 Dec 2024 11:29:24 +0100 Subject: [PATCH] Fix outdated comment --- mods/ITEMS/REDSTONE/mcl_comparators/init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/REDSTONE/mcl_comparators/init.lua b/mods/ITEMS/REDSTONE/mcl_comparators/init.lua index 408ea35eb..89a88cf81 100644 --- a/mods/ITEMS/REDSTONE/mcl_comparators/init.lua +++ b/mods/ITEMS/REDSTONE/mcl_comparators/init.lua @@ -299,9 +299,11 @@ for _, mode in pairs{"comp", "sub"} do rear_power = math.max(0, math.min(15, measure(pos2, node2, def2))) else rear_power = mcl_redstone.get_power(pos, back) - -- rear input does accept power from opaque nodes, but + -- Rear input does accept power from opaque nodes, but -- ignores it in preference of a measurable node (behind - -- the opaque node) unless rear power level is 15 + -- the opaque node). Java edition makes an exception if + -- the power level is 15, we do not do so because we + -- mainly target bedrock. if is_opaque then local pos3 = vector.add(pos2, back) local measure, _, node3, def3 = is_measurable_or_opaque(pos3)