grounditems: Remove duplicate item count in notifications (#10526)
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user