Fix ItemStackLike#maxStackQuantity#4177
Conversation
0d660b5 to
f5f6345
Compare
|
Should add the check for |
|
Because |
|
Ah I didn't notice you changed that. Yeah, that should be left as |
|
Haven't we agreed in discord that making it return component value is fine? |
|
The whole point of removing the supports was that it would return the default value if the component was missing, right? :) |
|
|
This is a whole separate issue that we have not yet decided up on how to deal with it. In that case we might want to delay this. |
|
Sad, but okay. Closed API PR, reverted changes related to API (including MAX_STACK_QUANTITY getter) |
SpongeAPI | Sponge
Implements
ItemStackLike#maxStackQuantitybecause it's no longer defaulted in APIAlso adds ability to remove max durability & max stack size components