OK, I copied a code from here... and I added to my source. Then I compiled, tried every dung cape and the emote still doesnt work..I need help?

To playerassitant.java... to add this and I did.
Code:
public void dungemote(final Client c) {
			    EventManager.getSingleton().addEvent(new Event() {
				int dungtime = 13;
				 public void execute(EventContainer dung) {
				   if (dungtime == 13) {
				       c.gfx0(2442);
					c.startAnimation(13190);
				    }
				   if (dungtime == 12) {
					c.npcId2 = 11228;
					 c.isNpc = true;
					 c.updateRequired = true;
					c.appearanceUpdateRequired = true;
					c.startAnimation(13192);
				    }
				   if (dungtime == 8) {
					c.npcId2 = 11227;
					 c.isNpc = true;
					 c.updateRequired = true;
					c.appearanceUpdateRequired = true;
					c.startAnimation(13193);
				    }
				   if (dungtime == 5) {
				       c.gfx0(2442);
				    }
				   if (dungtime == 4) {
					c.npcId2 = 11229;
					 c.updateRequired = true;
					c.appearanceUpdateRequired = true;
					c.startAnimation(13194);
				    }
				   if (dungtime == 0) {
					c.isNpc = false;
					 c.updateRequired = true;
					c.appearanceUpdateRequired = true;
				    }
				   if (c == null || dungtime <= 0) {
				       dung.stop();
                                                                         return; 
				    }
				   if (dungtime >= 0) {
					dungtime--;
				    }
				}
			    }, 600);
			}
OK step 2, I had this to do too. Which I added, clickingbuttons.java

Code:
case 154:
			if(System.currentTimeMillis() - c.logoutDelay < 8000) {
c.sendMessage("You cannot do skillcape emotes in combat!");
return;
f(c.getPA().wearingCape(c.playerEquipment[c.playerCape])) {
		c.stopMovement();
		c.gfx0(c.getPA().skillcapeGfx(c.playerEquipment[c.playerCape]));
		c.startAnimation(c.getPA().skillcapeEmote(c.playerEquipment[c.playerCape]));
	} else {
		c.sendMessage("You must be wearing a Skillcape to do this emote.");
}
			c.lastEmote = System.currentTimeMillis();
and finally add this....? Which I did.. under it..

Code:
} else if(c.playerEquipment[c.playerCape] == 19710) {
			c.getPA().dungemote(c);
THEN, I login to the game. I have compiled and updated and everything but it says. "You must be wearing a skillcape to do this emote" Help?... All codes are from Yonacool