Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- above } else if (c.myShopId == 47) {
- add
- } else if (c.myShopId == 55) {
- if (c.randomPoints >= TotPrice2) {
- if (c.getItems().freeSlots() > 0) {
- buyDelay = System.currentTimeMillis();
- c.randomPoints -= TotPrice2;
- c.getItems().addItem(itemID, 1);
- ShopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1;
- ShopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0;
- if ((fromSlot + 1) > ShopHandler.ShopItemsStandard[c.myShopId]) {
- ShopHandler.ShopItems[c.myShopId][fromSlot] = 0;
- }
- } else {
- c.sendMessage("You don't have enough space in your inventory.");
- break;
- }
- } else {
- c.sendMessage("You don't have enough Random Points.");
- break;
- }
- shopassistant.java
Add Comment
Please, Sign In to add comment