package at.hannibal2.skyhanni.mixins.hooks import at.hannibal2.skyhanni.features.chroma.ChromaManager import at.hannibal2.skyhanni.utils.LorenzUtils import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable class MixinPatcherFontRendererHookHook { companion object { @JvmStatic fun overridePatcherFontRenderer(string: String, shadow: Boolean, cir: CallbackInfoReturnable) { if (!LorenzUtils.onHypixel) return if (ChromaManager.config.enabled) { cir.cancel() cir.returnValue = false } } } }