Originally Posted by
H O R R O R
Even though you cannot alch gp, it still deletes the runes. How can I fix this?
Code:
if(itemId == 995 || itemId == 8890) {
c.sendMessage("Coins are already made out of gold.");
return;
} // You need to close the if statement.
c.getItems().deleteItem(itemId, slot, 1);
c.getItems().addItem(995, (int)(c.getShops().getItemShopValue(itemId)*.75));
c.startAnimation(c.MAGIC_SPELLS[50][2]);
c.gfx100(c.MAGIC_SPELLS[50][3]);
c.alchDelay = System.currentTimeMillis();
sendFrame106(6);
addSkillXP(c.MAGIC_SPELLS[50][7] * Config.MAGIC_EXP_RATE, 6);
refreshSkill(6);
}