Skip to content

Commit

Permalink
Prevent recipe ID conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Camotoy committed Oct 28, 2024
1 parent 0f1a32e commit 6c0d341
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ public GeyserSession(GeyserImpl geyser, BedrockServerSession bedrockServerSessio
this.openInventory = null;
this.craftingRecipes = new Int2ObjectOpenHashMap<>();
this.javaToBedrockRecipeIds = new Int2ObjectOpenHashMap<>();
this.lastRecipeNetId = new AtomicInteger(InventoryUtils.LAST_RECIPE_NET_ID);
this.lastRecipeNetId = new AtomicInteger(InventoryUtils.LAST_RECIPE_NET_ID + 1);

this.spawned = false;
this.loggedIn = false;
Expand Down

0 comments on commit 6c0d341

Please sign in to comment.