From ab1b7db86c6a90068f84ebe1b57b06d4a8887b56 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 3 Dec 2023 10:29:54 -0600 Subject: [PATCH] hull 7 --- src/engine/gameManager/BuildingManager.java | 4 ++-- src/engine/mobileAI/MobAI.java | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 51cbb3f8..90db2571 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -968,7 +968,7 @@ public enum BuildingManager { public static void bakeNavMesh(Building building) { if (building.parentZone == null) { - Logger.error("Attempt to bake navmesh with no parent: " + building.getObjectUUID()); + //Logger.error("Attempt to bake navmesh with no parent: " + building.getObjectUUID()); return; } @@ -979,7 +979,7 @@ public enum BuildingManager { convexHullList = _hull_data.get(building.meshUUID); if (convexHullList == null) { - Logger.error("Attempt to bake navmesh with no meshes: " + building.getObjectUUID()); + //Logger.error("Attempt to bake navmesh with no meshes: " + building.getObjectUUID()); return; } diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 758aac69..69993436 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -308,7 +308,7 @@ public class MobAI { aiMove(mob, true,0); } catch (Exception e) { - Logger.info(mob.getObjectUUID() + " " + mob.getName() + " Failed At: AttackTarget" + " " + e.getMessage()); + Logger.info(mob.getObjectUUID() + " " + mob.getName() + " Failed At: Patrol" + " " + e.getMessage()); } } @@ -1349,11 +1349,11 @@ public class MobAI { if(mob.isMoving()) { return; } - if(!mob.isPathing){ - ArrayList path = PathingUtilities.getPath(mob, mob.destination); - if(path != null && path.size() > 0) - PathingUtilities.followPath(mob,path); - } + //if(!mob.isPathing){ + // ArrayList path = PathingUtilities.getPath(mob, mob.destination); + // if(path != null && path.size() > 0) + // PathingUtilities.followPath(mob,path); + //} } public static void directMove(AbstractCharacter mob,boolean isWalking){