Skip to content

Commit a63684c

Browse files
committed
fix ItemStackLike#maxStackQuantity
1 parent c98f6df commit a63684c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/org/spongepowered/api/item/inventory/ItemStackLike.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ public interface ItemStackLike extends SerializableDataHolder, ComponentLike, Ho
7373
*
7474
* @return Max stack quantity
7575
*/
76-
default int maxStackQuantity() {
77-
return this.require(Keys.MAX_STACK_SIZE);
78-
}
76+
int maxStackQuantity();
7977

8078
/**
8179
* Returns true if {@link #quantity()} is zero and therefore this

0 commit comments

Comments
 (0)