Spawned in all NPCs for the GFI and ensured they fought with eachother.

This commit is contained in:
ceikry
2021-07-12 09:40:45 -05:00
parent 7fe8902753
commit 329b39bb60
3 changed files with 72 additions and 1 deletions
+1 -1
View File
@@ -600,7 +600,7 @@ object ContentAPI {
*/
@JvmStatic
fun findLocalNPCs(entity: Entity, ids: IntArray): List<NPC>{
return RegionManager.getSurroundingNPCs(entity).filter { it.id in ids }.toList()
return RegionManager.getLocalNpcs(entity).filter { it.id in ids }.toList()
}
/**