From aeff6ac277062c4cddb59a1ff99419b54bda6329 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 21 Jun 2021 12:22:38 +0200 Subject: [PATCH] Fix ObserverTracer Signed-off-by: yoyosource --- .../steamwar/bausystem/features/observer/ObserverTracer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java b/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java index a61a2d3a..3f89dd5a 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/observer/ObserverTracer.java @@ -95,6 +95,9 @@ public class ObserverTracer { calculateSpecial(b); } + if (b.getType() == Material.OBSERVER) { + continue; + } if (b.getType().isBlock() && b.getType().isSolid() && b.getType().isOccluding()) { calculateSolidBlock(b); }