Fixed bug that prevented stacked items from being returned if they weren't sellable
This commit is contained in:
@@ -61,7 +61,7 @@ public class SellWindow extends GUI {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
int points = getPoints(content, namespacedKey) * content.getAmount();
|
int points = getPoints(content, namespacedKey) * content.getAmount();
|
||||||
if (points == -1) {
|
if (points < 0) {
|
||||||
itemsToMoveBack.add(content);
|
itemsToMoveBack.add(content);
|
||||||
} else {
|
} else {
|
||||||
pointsEarned += points;
|
pointsEarned += points;
|
||||||
|
|||||||
Reference in New Issue
Block a user