mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-23 07:11:20 +01:00
Fix error that prevented selling to admin shops
This commit is contained in:
parent
8a09e91e62
commit
53ae07b779
@ -138,7 +138,7 @@ public class InventoryUtil {
|
||||
public static boolean fits(ItemStack item, Inventory inventory) {
|
||||
int left = item.getAmount();
|
||||
|
||||
if (inventory.getMaxStackSize() == Integer.MAX_VALUE) {
|
||||
if (inventory.getSize() == Integer.MAX_VALUE) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user