Skip to content

Commit

Permalink
fix a packet issue with processing recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
LemmaEOF committed Jun 27, 2019
1 parent 36a4fc7 commit 4185045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/vivatech/recipe/ProcessingRecipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<MachineTier.values().length) minTier = MachineTier.values()[tierInt];
float exp = buffer.readFloat();
int processTime = buffer.readInt();
Expand Down

0 comments on commit 4185045

Please sign in to comment.