Changesftw (#172)

* Npc definitions/npc aggressiveness

Let me know how it works

* Error fix

fixes error
This commit is contained in:
Mr Extremez
2019-11-10 23:26:47 -06:00
committed by Daniel Ginovker
parent e26f32439a
commit d14f4e5044
8 changed files with 134432 additions and 17 deletions
@@ -3094,7 +3094,7 @@ public class PlayerAssistant {
}
public int getNpcId(int id) {
for (int i = 0; i < NpcHandler.maxNPCs; i++) {
for (int i = 0; i < NpcHandler.MAX_NPCS; i++) {
if (NpcHandler.npcs[i] != null) {
if (NpcHandler.npcs[i].npcId == id) {
return i;