mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 00:32:06 +00:00
Add message showing how many coins you collected from your shop (#227)
This commit is contained in:
@@ -155,6 +155,7 @@ public class BotHandler {
|
|||||||
int totalCoins = shop.getItemAssistant().getItemAmount(currency);
|
int totalCoins = shop.getItemAssistant().getItemAmount(currency);
|
||||||
player.getItemAssistant().addItem(currency, totalCoins);
|
player.getItemAssistant().addItem(currency, totalCoins);
|
||||||
shop.getItemAssistant().deleteItem(currency, totalCoins);
|
shop.getItemAssistant().deleteItem(currency, totalCoins);
|
||||||
|
player.getPacketSender().sendMessage("You collected " + totalCoins + " coins.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void addTobank(int shop_id, int item_id, int amount){
|
public static void addTobank(int shop_id, int item_id, int amount){
|
||||||
|
|||||||
Reference in New Issue
Block a user