Fix ObserverTracer
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
c6a6acfa0a
Commit
bce9cfaa21
@ -118,10 +118,7 @@ public class ObserverTracer {
|
||||
for (BlockFace blockFace : ALLOWED) {
|
||||
Location location = block.getLocation().add(blockFace.getModX(), blockFace.getModY(), blockFace.getModZ());
|
||||
Block b = location.getBlock();
|
||||
if (blockFace == observer.getFacing().getOppositeFace() && !b.getType().isAir()) {
|
||||
if (b.getType() == Material.OBSERVER) {
|
||||
continue;
|
||||
}
|
||||
if (blockFace == observer.getFacing().getOppositeFace() && !b.getType().isAir() && b.getType() != Material.OBSERVER) {
|
||||
blockList.add(b);
|
||||
if (checkMaterial(b)) {
|
||||
calculateSolidBlock(b);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren