Browse Source

Fix AbstractRecipeSerializer's signature

The corresponding registry should be for serialisers, not for recipes.
Max 4 years ago
parent
commit
fd3e8ac3c0

+ 1 - 1
common/src/main/java/me/shedaniel/architectury/core/AbstractRecipeSerializer.java

@@ -25,5 +25,5 @@ import net.minecraft.world.item.crafting.RecipeSerializer;
 /**
  * The equivalent of {@link RecipeSerializer} to use in common that has forge registry entries extended.
  */
-public abstract class AbstractRecipeSerializer<T extends Recipe<?>> extends RegistryEntry<T> implements RecipeSerializer<T> {
+public abstract class AbstractRecipeSerializer<T extends Recipe<?>> extends RegistryEntry<RecipeSerializer<?>> implements RecipeSerializer<T> {
 }