mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-05 16:49:06 +00:00
Changesftw (#172)
* Npc definitions/npc aggressiveness Let me know how it works * Error fix fixes error
This commit is contained in:
committed by
Daniel Ginovker
parent
e26f32439a
commit
d14f4e5044
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user