Skip to content

Commit

Permalink
Update VV API usage
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Sep 30, 2024
1 parent 3cf16f4 commit 1e8f7a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private void appendItemDataFixComponents(UserConnection user, Item item, Callbac
if (user.getProtocolInfo().serverProtocolVersion().olderThanOrEqualTo(LegacyProtocolVersion.b1_7tob1_7_3)) {
if (this.viaFabricPlus$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);
}
}

Expand Down

0 comments on commit 1e8f7a7

Please sign in to comment.