From 418504524fc778eff6ad0e789c8071b2b6aa82e3 Mon Sep 17 00:00:00 2001 From: Meredith Espinosa Date: Thu, 27 Jun 2019 16:17:52 -0700 Subject: [PATCH] fix a packet issue with processing recipes --- build.gradle | 2 +- src/main/java/vivatech/recipe/ProcessingRecipe.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 9bb70d0..e4f7741 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ sourceCompatibility = 1.8 targetCompatibility = 1.8 archivesBaseName = "vivatech" -version = "1.0.0-alpha.8+1.14.2" +version = "1.0.0-alpha.9+1.14.2" repositories { maven { diff --git a/src/main/java/vivatech/recipe/ProcessingRecipe.java b/src/main/java/vivatech/recipe/ProcessingRecipe.java index 5e8ff46..7235e44 100644 --- a/src/main/java/vivatech/recipe/ProcessingRecipe.java +++ b/src/main/java/vivatech/recipe/ProcessingRecipe.java @@ -165,7 +165,7 @@ public R read(Identifier id, PacketByteBuf buffer) { Ingredient input = Ingredient.fromPacket(buffer); ItemStack output = buffer.readItemStack(); MachineTier minTier = MachineTier.MINIMAL; - int tierInt = buffer.readByte(); + int tierInt = buffer.readInt(); if (tierInt>=0 && tierInt