mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-30 00:15:57 -04:00
Implemented agressive AI and assist behaviour, added health regen task to ai
Use the prima guide to get assist range of mobs
This commit is contained in:
@@ -563,6 +563,8 @@ public class ObjectService implements INetworkDispatch {
|
||||
|
||||
synchronized(objectList) {
|
||||
for(SWGObject obj : objectList.values()) {
|
||||
if(obj == null)
|
||||
continue;
|
||||
if(obj.getCustomName() == null)
|
||||
continue;
|
||||
if(obj.getCustomName().startsWith(customName))
|
||||
@@ -584,7 +586,7 @@ public class ObjectService implements INetworkDispatch {
|
||||
return object;
|
||||
}
|
||||
}
|
||||
|
||||
cursor.close();
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user