Ensure points are properly assigned if a user somehow gets duplicate fish
This commit is contained in:
parent
e77485ea68
commit
a904e0cfa5
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user