From 6ac1befa7b080d293032ebceb051291983d4f8a6 Mon Sep 17 00:00:00 2001 From: LemonCaramel Date: Thu, 15 Jul 2021 00:37:22 +0900 Subject: [PATCH] Fix Stonecutter #6180 issue (#6181) --- patches/server/Added-PlayerStonecutterRecipeSelectEvent.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/Added-PlayerStonecutterRecipeSelectEvent.patch b/patches/server/Added-PlayerStonecutterRecipeSelectEvent.patch index a572cf9e23..6e802d6a49 100644 --- a/patches/server/Added-PlayerStonecutterRecipeSelectEvent.patch +++ b/patches/server/Added-PlayerStonecutterRecipeSelectEvent.patch @@ -14,7 +14,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 public StonecutterMenu(int syncId, Inventory playerInventory, final ContainerLevelAccess context) { super(MenuType.STONECUTTER, syncId); - this.selectedRecipeIndex = DataSlot.standalone(); -+ this.selectedRecipeIndex = addDataSlot(DataSlot.shared(new int[1], 0)); // Paper - allow replication ++ this.selectedRecipeIndex = DataSlot.shared(new int[1], 0); // Paper - allow replication this.recipes = Lists.newArrayList(); this.input = ItemStack.EMPTY; this.slotUpdateListener = () -> {