Fix client not finding recipe serializer for minecraft:stonecutter (#1794)

This commit is contained in:
FourteenBrush 2023-03-20 20:19:24 +01:00 committed by GitHub
parent 067227421f
commit 784875943a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ public record DeclareRecipesPacket(@NotNull List<DeclaredRecipe> recipes) implem
case "blasting" -> new DeclaredBlastingRecipe(reader);
case "smoking" -> new DeclaredSmokingRecipe(reader);
case "campfire_cooking" -> new DeclaredCampfireCookingRecipe(reader);
case "stonecutter" -> new DeclaredStonecutterRecipe(reader);
case "stonecutting" -> new DeclaredStonecutterRecipe(reader);
case "smithing" -> new DeclaredSmithingRecipe(reader);
default -> throw new UnsupportedOperationException("Unrecognized type: " + type);
};
@ -235,7 +235,7 @@ public record DeclareRecipesPacket(@NotNull List<DeclaredRecipe> recipes) implem
@Override
public @NotNull String type() {
return "stonecutter";
return "stonecutting";
}
}