ForgePatch/patches/minecraft/net/minecraft/data/RecipeProvider.java.patch

11 lines
448 B
Diff
Raw Normal View History

2019-08-03 17:25:41 +00:00
--- a/net/minecraft/data/RecipeProvider.java
+++ b/net/minecraft/data/RecipeProvider.java
@@ -57,6 +57,7 @@
2019-08-03 17:25:41 +00:00
}
});
+ if (this.getClass() == RecipeProvider.class) //Forge: Subclasses don't need this.
this.func_208310_b(p_200398_1_, Advancement.Builder.func_200278_a().func_200275_a("impossible", new ImpossibleTrigger.Instance()).func_200273_b(), path.resolve("data/minecraft/advancements/recipes/root.json"));
}