fixup ordering of shop items
This commit is contained in:
1 parent
d2cf6fac12
commit
10c7adf74d
9 files changed
+18
-41
No files matched your search
@@ -67,7 +67,8 @@ public class Bot {
|
||||
if (items.size() <= 0) return;
|
||||
int item_id = Misc.randomArrayListItem(items);
|
||||
String item_name = ItemAssistant.getItemName(item_id);
|
||||
int value = Math.max(1, BotHandler.getItemPrice(botClient.myShopId, item_id));
|
||||
int value = BotHandler.getItemPrice(botClient.myShopId, item_id);
|
||||
if (value <= 0) return;
|
||||
botClient.forcedChat("Selling " + item_name + " " + formatSellPrice(value) + " ea");
|
||||
/*
|
||||
Real chat - Disabled for now, can't get it to function correctly
|
||||
|
||||
Reference in new issue
Block a user