Skip to content

Commit

Permalink
Fix rare netid desync when crafting
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ-Ferguson committed Aug 27, 2024
1 parent 3be9b8a commit 7fa283e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static void updateCraftingGrid(GeyserSession session, Inventory inventory
if (session.getGameMode() == GameMode.CREATIVE) {
slotPacket.setItem(UNUSUABLE_CRAFTING_SPACE_BLOCK.apply(session.getUpstream().getProtocolVersion()));
} else {
slotPacket.setItem(ItemTranslator.translateToBedrock(session, inventory.getItem(i).getItemStack()));
slotPacket.setItem(inventory.getItem(i).getItemData(session));
}

session.sendUpstreamPacket(slotPacket);
Expand Down

0 comments on commit 7fa283e

Please sign in to comment.