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

This commit is contained in:
oneilljos
2020-05-29 15:40:39 -04:00
committed by GitHub
parent d2286f18b0
commit 6d3f7ebee0

View File

@@ -650,9 +650,6 @@ public class GroundItemsPlugin extends Plugin
if (item.getQuantity() > 1) if (item.getQuantity() > 1)
{ {
notificationStringBuilder.append(" x ").append(item.getQuantity());
if (item.getQuantity() > (int) Character.MAX_VALUE) if (item.getQuantity() > (int) Character.MAX_VALUE)
{ {
notificationStringBuilder.append(" (Lots!)"); notificationStringBuilder.append(" (Lots!)");
@@ -665,7 +662,6 @@ public class GroundItemsPlugin extends Plugin
} }
} }
notificationStringBuilder.append("!");
notifier.notify(notificationStringBuilder.toString()); notifier.notify(notificationStringBuilder.toString());
} }