grounditems: Remove duplicate item count in notifications (#10526)

This commit is contained in:
oneilljos
2020-05-29 21:40:39 +02:00
committed by GitHub
parent d2286f18b0
commit 6d3f7ebee0
@@ -650,9 +650,6 @@ public class GroundItemsPlugin extends Plugin
if (item.getQuantity() > 1)
{
notificationStringBuilder.append(" x ").append(item.getQuantity());
if (item.getQuantity() > (int) Character.MAX_VALUE)
{
notificationStringBuilder.append(" (Lots!)");
@@ -664,8 +661,7 @@ public class GroundItemsPlugin extends Plugin
.append(")");
}
}
notificationStringBuilder.append("!");
notifier.notify(notificationStringBuilder.toString());
}