Dieser Commit ist enthalten in:
Ursprung
c3e39296b5
Commit
45fd36907c
@ -152,7 +152,9 @@ public class NavMesh implements Listener {
|
||||
|
||||
private void checkNeighbouring(Pos pos, double posFloorHeight) {
|
||||
for (BlockFace blockFace : FACES) {
|
||||
// TODO: Check FenceGates, Doors, usw.
|
||||
for (int cy = pos.y - 2; cy <= pos.y + 2; cy++) {
|
||||
// TODO: Fix Ladder in Underground
|
||||
Pos other = new Pos(pos.x + blockFace.getModX(), cy, pos.z + blockFace.getModZ());
|
||||
Double otherFloorHeight = floorBlock.get(other);
|
||||
if (otherFloorHeight == null) continue;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren