im making aggressive npcs on my emulous 1.7, and i have everything almost 100%. i compiled, got no errors, but when i tried it, the npc didnt attack. so i tried adding this into my process in npchandler.java
Code:
for (int i = 0; i < maxNPCs; i++) {
if (npcs[i] != null) {
annoyNpcs(i);
but when i try to compile it, i get this error
Code:
------ Compiling ------
.\server\model\npcs\NPCHandler.java:357: annoyNpcs(server.model.players.Client,i
nt) in server.model.npcs.NPCHandler cannot be applied to (int)
annoyNpcs(i);
^
1 error
Press any key to continue . . .
what do i do?