Small fixes

This commit is contained in:
paulevsGitch 2020-09-23 21:59:21 +03:00
parent 8fc439a24d
commit 01d29a3aa7
3 changed files with 34 additions and 3 deletions

View file

@ -30,7 +30,7 @@ public class RecipeManagerMixin
@Shadow
private Map<RecipeType<?>, Map<Identifier, Recipe<?>>> recipes;
@Inject(method = "apply", at = @At(value = "TAIL"))
@Inject(method = "apply", at = @At(value = "RETURN"))
private void setRecipes(Map<Identifier, JsonElement> map, ResourceManager resourceManager, Profiler profiler, CallbackInfo info)
{
recipes = EndRecipeManager.getMap(recipes);