item.getId() * item.getAmount()
|
When you drop an item that has an value more than 500k you get an dialogue (simple one)
It works with every item apart of noted stacked items
What I want it that all noted items total value over 500k gets the dialogue.Code:if (EconomyPrices.getPrice(item.getId()) >= 500000) { player.getDialogueManager().startDialogue("Drop", slotId, item); return; }
If the item is noted and has a value over 500k I get the dialogue, but if I have noted 500k of the same item that has value 1 the item just drops.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |