Ensure points are properly assigned if a user somehow gets duplicate fish
This commit is contained in:
1 parent
e77485ea68
commit
a904e0cfa5
1 file changed
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user