Add this in your NPCHandler.java :
To use it :public void doAnim(int npc, int anim) {
if(npcs[i] != null && npcs[i].npcType == npc) {
if(npcs[i].npcType == npc) {
npcs[i].animNumber = anim;
return;
}
}
}
Credits to : oobeServer.npcHandler.doAnim(NPC_ID, ANIM);