diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/RenderUtils.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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( |