mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 18:15:39 +01:00
Fixing item count on 1.11, where size <= 0. Fixes #553
This commit is contained in:
parent
efa6e8ec31
commit
18c706ab8a
@ -97,6 +97,7 @@ public class ItemRewriter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (stack.getAmount() <= 0) stack.setAmount((byte) 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void toServer(Item item) {
|
public static void toServer(Item item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user