mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 08:39: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
@@ -412,7 +412,7 @@ public class DwarfCannon {
|
||||
|
||||
|
||||
private Npc targetNpc() {
|
||||
for (int i = 0; i < NpcHandler.maxNPCs; i++) {
|
||||
for (int i = 0; i < NpcHandler.MAX_NPCS; i++) {
|
||||
if (NpcHandler.npcs[i] == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ public class Stalls {
|
||||
}
|
||||
|
||||
private static void failGuards(final Client c) {
|
||||
for (int i = 1; i < NpcHandler.maxNPCs; i ++) {
|
||||
for (int i = 1; i < NpcHandler.MAX_NPCS; i ++) {
|
||||
if (NpcHandler.npcs[i] != null) {
|
||||
if (NpcHandler.npcs[i].npcType == 32
|
||||
|| NpcHandler.npcs[i].npcType == 1317
|
||||
|
||||
Reference in New Issue
Block a user