Items with a predefined stack value can be stacked above the value
ShadowMikado opened this issue · 2 comments
ShadowMikado commented
TwistedAsylumMC commented
You need to also tell pocketmine about the max stack size using the getMaxStackSize()
, the value you provide in the component is just to tell the client what it is.
public function getMaxStackSize() : int{
return 1;
}
ShadowMikado commented
It work thanks TwistedAsylumMC