what am i doing wrong?
Code:
if (c.myShopId == 9) {
c.sendMessage(c.getItems().getItemName(removeId)+": currently costs " + getSpecialItemValue(removeId) + " Donor Points.");
return;
Code:
public boolean sellItem(int itemID, int fromSlot, int amount) {
if (c.myShopId == 9)
return false;
Code:
if (Server.shopHandler.ShopItems[c.myShopId][fromSlot]-1 != itemID && c.myShopId != 14) {
return false;
}
} else if (c.myShopId == 9) {
handleOtherShop(itemID);
return false;
Code:
if (Slot == -1 && c.myShopId != 48 && c.myShopId != 15 && c.myShopId != 90 && c.myShopId != 9) {
c.sendMessage("You don't have enough coins.");
break;