From f5733c2cb859d80754c0a61df0c7243feb3e0b80 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Fri, 11 Oct 2024 14:47:25 +0200 Subject: [PATCH] They fixed the typo --- .../v1_21to1_21_2/data/MappingData1_21_2.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/v1_21to1_21_2/data/MappingData1_21_2.java b/common/src/main/java/com/viaversion/viaversion/protocols/v1_21to1_21_2/data/MappingData1_21_2.java index f676c1ca7..c004fb403 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/v1_21to1_21_2/data/MappingData1_21_2.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/v1_21to1_21_2/data/MappingData1_21_2.java @@ -40,18 +40,14 @@ public final class MappingData1_21_2 extends MappingDataBase { addRecipeInputs(extraMappings, "smithing_template"); addRecipeInputs(extraMappings, "smithing_base"); addRecipeInputs(extraMappings, "furnace_input"); - addRecipeInputs(extraMappings, "smoker_input", "smelting_input"); // Pretty sure Mojang typo'd this + addRecipeInputs(extraMappings, "smoker_input"); addRecipeInputs(extraMappings, "blast_furnace_input"); addRecipeInputs(extraMappings, "campfire_input"); } - private void addRecipeInputs(final CompoundTag tag, final String key, final String outputKey) { - final int[] ids = tag.getIntArrayTag(key).getValue(); - recipeInputs.add(new RecipeInputs(outputKey, ids)); - } - private void addRecipeInputs(final CompoundTag tag, final String key) { - addRecipeInputs(tag, key, key); + final int[] ids = tag.getIntArrayTag(key).getValue(); + recipeInputs.add(new RecipeInputs(key, ids)); } public void writeInputs(final PacketWrapper wrapper) {