3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 08:10:09 +01:00

They fixed the typo

Dieser Commit ist enthalten in:
Nassim Jahnke 2024-10-11 14:47:25 +02:00
Ursprung 21fec0e263
Commit f5733c2cb8
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: EF6771C01F6EF02F

Datei anzeigen

@ -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) {