Skip to content

Commit f71e8c4

Browse files
authored
fixing the HealingBot
1 parent 99970ba commit f71e8c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/java/net/ildar/wurm/bot/HealingBot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected void work() throws Exception{
4040
while (inventoryItems.size() > 0) {
4141
InventoryMetaItem item = inventoryItems.get(0);
4242
if (woundNames.contains(item.getBaseName())
43-
&& !item.getBaseName().contains("bandaged"))
43+
&& !item.getDisplayName().contains("bandaged"))
4444
wounds.add(item);
4545
if (item.getChildren() != null)
4646
inventoryItems.addAll(item.getChildren());

0 commit comments

Comments
 (0)