package xyz.illuc.neuralgiacore.mixin.PrototypePain;

import net.adinvas.prototype_pain.client.overlays.OverlayController;
import net.adinvas.prototype_pain.client.overlays.exp.SicknessOverlay;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(OverlayController.class)
public class MixinOverlayController {
    @Inject(method = "<clinit>", at = @At("TAIL"), remap = false)
    private static void registerCustomOverlays(CallbackInfo ci) {
        OverlayController.registerEXOverlay((new SicknessOverlay()));
    }
}