ok well im good with servers and coding, but i do not get this because the food. On my server well when i eat it it sais you ate a manta blah blah. so i couldnt find it in any my files till i got to postins.java so i tryed adding heal = 25; ect but it still donsn't heal can any one help? if needed i can send you some files.
Code:
case 391:
if (System.currentTimeMillis() - c.foodDelay < 2000)
return;
c.foodDelay = System.currentTimeMillis();
c.setAnimation(0x33D);
//c.playSound(317, 000, 020);
c.sM("You eat the manta ray.");
if(c.currentHealth < c.playerLevel[c.playerHitpoints]){
c.sM("It heals some health.");
}
c.deleteItem(391, slot, 1);
c.currentHealth += 22;
if (c.currentHealth > c.playerLevel[c.playerHitpoints])
c.currentHealth = c.playerLevel[c.playerHitpoints];
c.sendQuest("" + c.currentHealth + "", 4016);
break;