3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-25 15:50:14 +01:00

Prevent recipe ID conflict

Dieser Commit ist enthalten in:
Camotoy 2024-10-28 01:31:08 -04:00
Ursprung 0f1a32e1c1
Commit 6c0d3419fc
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -684,7 +684,7 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
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;