From 0276a4c5d9217cd9fb1f5dc024bb3a93aae32f2b Mon Sep 17 00:00:00 2001 From: gnembon Date: Thu, 8 Jul 2021 01:19:16 -0300 Subject: [PATCH] 1.4.43 and 1.17.1 --- gradle.properties | 10 +++++----- .../AutoCraftingTableContainer.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gradle.properties b/gradle.properties index cccab10..91fb87d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,14 +3,14 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use or https://modmuss50.me/fabric.html - minecraft_version=1.17-pre2 - yarn_mappings=1.17-pre2+build.5 - loader_version=0.11.3 + minecraft_version=1.17.1 + yarn_mappings=1.17.1+build.1 + loader_version=0.11.6 # check available versions on maven for the given minecraft version you are using - carpet_core_version=1.4.39+v210531 + carpet_core_version=1.4.43+v210706 # Mod Properties - mod_version = 1.4.39 + mod_version = 1.4.43 maven_group = carpet-autocraftingtable archives_base_name = carpet-autocraftingtable diff --git a/src/main/java/carpet_autocraftingtable/AutoCraftingTableContainer.java b/src/main/java/carpet_autocraftingtable/AutoCraftingTableContainer.java index 4b5c1f3..1c90883 100644 --- a/src/main/java/carpet_autocraftingtable/AutoCraftingTableContainer.java +++ b/src/main/java/carpet_autocraftingtable/AutoCraftingTableContainer.java @@ -43,7 +43,7 @@ public class AutoCraftingTableContainer extends CraftingScreenHandler { public void onContentChanged(Inventory inv) { if (this.player instanceof ServerPlayerEntity) { ServerPlayNetworkHandler netHandler = ((ServerPlayerEntity) this.player).networkHandler; - netHandler.sendPacket(new ScreenHandlerSlotUpdateS2CPacket(this.syncId, 0, this.blockEntity.getStack(0))); + netHandler.sendPacket(new ScreenHandlerSlotUpdateS2CPacket(this.syncId, 0, 0, this.blockEntity.getStack(0))); } }