From 2eae56fabfd8c43ad2b5decc96a840e741796082 Mon Sep 17 00:00:00 2001 From: nea Date: Sat, 25 Mar 2023 03:02:33 +0100 Subject: The non controversial config changes --- src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/utils') diff --git a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt index 1d24ff1e9..491b73d31 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt @@ -1,11 +1,11 @@ package at.hannibal2.skyhanni.utils import at.hannibal2.skyhanni.config.core.config.Position -import at.hannibal2.skyhanni.config.core.util.render.TextRenderUtils.drawStringScaled import at.hannibal2.skyhanni.data.GuiEditManager import at.hannibal2.skyhanni.data.GuiEditManager.Companion.getAbsX import at.hannibal2.skyhanni.data.GuiEditManager.Companion.getAbsY import at.hannibal2.skyhanni.utils.NEUItems.renderOnScreen +import io.github.moulberry.moulconfig.internal.TextRenderUtils import net.minecraft.client.Minecraft import net.minecraft.client.gui.FontRenderer import net.minecraft.client.gui.Gui @@ -665,7 +665,7 @@ object RenderUtils { val strLen = fr.getStringWidth(str) var factor = len / strLen.toFloat() factor = Math.min(1f, factor) - drawStringScaled(str, fr, x, y, shadow, colour, factor) + TextRenderUtils.drawStringScaled(str, fr, x, y, shadow, colour, factor) } fun RenderWorldLastEvent.drawDynamicText( -- cgit