Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void handleOtherShop(int itemID) {
- if (c.myShopId == 7) {
- if (c.votingPoints >= gvp(itemID)) {
- if (c.getItems().freeSlots() > 0){
- c.votingPoints -= gvp(itemID);
- c.getItems().addItem(itemID,1);
- c.getItems().resetItems(3823);
- return;
- }
- } else {
- c.sendMessage("You dont have enough voting points to buy this item!");
- return;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement