SteamWar/FightSystem
Archiviert
13
1

Add some more TODOS
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2023-09-03 22:06:11 +02:00
Ursprung c3e39296b5
Commit 45fd36907c

Datei anzeigen

@ -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;