lowercase item name

This commit is contained in:
RedSparr0w
2019-11-23 17:39:38 +13:00
parent c91027f25f
commit 576bee32c3
2 changed files with 1 additions and 1 deletions
@@ -65,7 +65,7 @@ public class Bot {
}
if (items.size() <= 0) return;
int item_id = Misc.randomArrayListItem(items);
String item_name = ItemAssistant.getItemName(item_id);
String item_name = ItemAssistant.getItemName(item_id).toLowerCase();
int value = BotHandler.getItemPrice(botClient.myShopId, item_id);
if (value <= 0) return;
botClient.forcedChat("Selling " + item_name + " " + formatSellPrice(value) + " ea");