mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 08:39:07 +00:00
lowercase item name
This commit is contained in:
@@ -65,7 +65,7 @@ public class Bot {
|
|||||||
}
|
}
|
||||||
if (items.size() <= 0) return;
|
if (items.size() <= 0) return;
|
||||||
int item_id = Misc.randomArrayListItem(items);
|
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);
|
int value = BotHandler.getItemPrice(botClient.myShopId, item_id);
|
||||||
if (value <= 0) return;
|
if (value <= 0) return;
|
||||||
botClient.forcedChat("Selling " + item_name + " " + formatSellPrice(value) + " ea");
|
botClient.forcedChat("Selling " + item_name + " " + formatSellPrice(value) + " ea");
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user