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) {
|
if (content == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
int points = getPoints(content, namespacedKey);
|
int points = getPoints(content, namespacedKey) * content.getAmount();
|
||||||
if (points == -1) {
|
if (points == -1) {
|
||||||
itemsToMoveBack.add(content);
|
itemsToMoveBack.add(content);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user