mirror of
https://github.com/Minestom/Minestom.git
synced 2025-04-17 01:26:43 +02:00
Stacking rule should be defaulted to vanilla if null
This commit is contained in:
parent
6ba336ee73
commit
a3f1235df4
@ -37,7 +37,7 @@ public final class ItemStack implements HoverEventSource<HoverEvent.ShowItem> {
|
||||
|
||||
protected ItemStack(@NotNull Material material, int amount,
|
||||
@NotNull ItemMeta meta,
|
||||
@NotNull StackingRule stackingRule) {
|
||||
@Nullable StackingRule stackingRule) {
|
||||
this.material = material;
|
||||
this.amount = amount;
|
||||
this.meta = meta;
|
||||
|
Loading…
Reference in New Issue
Block a user