Ensure points are properly assigned if a user somehow gets duplicate fish
This commit is contained in:
@@ -60,7 +60,7 @@ public class SellWindow extends GUI {
|
||||
if (content == null) {
|
||||
continue;
|
||||
}
|
||||
int points = getPoints(content, namespacedKey);
|
||||
int points = getPoints(content, namespacedKey) * content.getAmount();
|
||||
if (points == -1) {
|
||||
itemsToMoveBack.add(content);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user