This commit is contained in:
2023-12-03 10:29:54 -06:00
parent 87125ed45d
commit ab1b7db86c
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -968,7 +968,7 @@ public enum BuildingManager {
public static void bakeNavMesh(Building building) { public static void bakeNavMesh(Building building) {
if (building.parentZone == null) { 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; return;
} }
@@ -979,7 +979,7 @@ public enum BuildingManager {
convexHullList = _hull_data.get(building.meshUUID); convexHullList = _hull_data.get(building.meshUUID);
if (convexHullList == null) { 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; return;
} }
+6 -6
View File
@@ -308,7 +308,7 @@ public class MobAI {
aiMove(mob, true,0); aiMove(mob, true,0);
} catch (Exception e) { } 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()) { if(mob.isMoving()) {
return; return;
} }
if(!mob.isPathing){ //if(!mob.isPathing){
ArrayList<PathingUtilities.Node> path = PathingUtilities.getPath(mob, mob.destination); // ArrayList<PathingUtilities.Node> path = PathingUtilities.getPath(mob, mob.destination);
if(path != null && path.size() > 0) // if(path != null && path.size() > 0)
PathingUtilities.followPath(mob,path); // PathingUtilities.followPath(mob,path);
} //}
} }
public static void directMove(AbstractCharacter mob,boolean isWalking){ public static void directMove(AbstractCharacter mob,boolean isWalking){