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) {
|
for (BlockFace blockFace : ALLOWED) {
|
||||||
Location location = block.getLocation().add(blockFace.getModX(), blockFace.getModY(), blockFace.getModZ());
|
Location location = block.getLocation().add(blockFace.getModX(), blockFace.getModY(), blockFace.getModZ());
|
||||||
Block b = location.getBlock();
|
Block b = location.getBlock();
|
||||||
if (blockFace == observer.getFacing().getOppositeFace() && !b.getType().isAir()) {
|
if (blockFace == observer.getFacing().getOppositeFace() && !b.getType().isAir() && b.getType() != Material.OBSERVER) {
|
||||||
if (b.getType() == Material.OBSERVER) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
blockList.add(b);
|
blockList.add(b);
|
||||||
if (checkMaterial(b)) {
|
if (checkMaterial(b)) {
|
||||||
calculateSolidBlock(b);
|
calculateSolidBlock(b);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren