change recipe manager inject priority for mod compatibility

This commit is contained in:
Relentless 2022-09-21 00:57:45 +02:00
parent a80405d726
commit a41f381dcc
No known key found for this signature in database
GPG key ID: 759D97B8C6F25265

View file

@ -13,7 +13,8 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import java.util.Map;
@Mixin(value = RecipeManager.class, priority = 1)
// inject after most mods but before KubeJS
@Mixin(value = RecipeManager.class, priority = 1_099)
public class RecipeManagerMixin {
@Inject(method = "apply(Ljava/util/Map;Lnet/minecraft/server/packs/resources/ResourceManager;Lnet/minecraft/util/profiling/ProfilerFiller;)V", at = @At("HEAD"))