mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-26 01:18:17 -05:00
Updated VV API usage
This commit is contained in:
parent
bf307796c7
commit
4478086410
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ public abstract class MixinBlockItemPacketRewriter1_20_5 extends ItemRewriter<Cl
|
|||
if (user.getProtocolInfo().serverProtocolVersion().olderThanOrEqualTo(LegacyProtocolVersion.b1_7tob1_7_3)) {
|
||||
if (this.foodItems_b1_7_3.contains(identifier)) {
|
||||
data.set(StructuredDataKey.MAX_STACK_SIZE, 1);
|
||||
data.addEmpty(StructuredDataKey.FOOD1_20_5);
|
||||
data.setEmpty(StructuredDataKey.FOOD1_20_5);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue