diff options
| author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-04-18 17:05:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-18 17:05:30 +0100 |
| commit | 2265233e317298db1da920430b8f8c21d6e3067e (patch) | |
| tree | a1339d9dfb2188100c7da55454605913d6773eb1 /src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java | |
| parent | a0a6032206ed0326653424c580b0b2900e357f29 (diff) | |
| parent | cf164be0c8f43c3d1387c9c9f7ae73c2cf1b3a02 (diff) | |
| download | OneConfig-2265233e317298db1da920430b8f8c21d6e3067e.tar.gz OneConfig-2265233e317298db1da920430b8f8c21d6e3067e.tar.bz2 OneConfig-2265233e317298db1da920430b8f8c21d6e3067e.zip | |
Merge pull request #3 from Wyvest/master
nanovg
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java')
| -rw-r--r-- | src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java b/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java index 3c9cf4c..299e7b8 100644 --- a/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java +++ b/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java @@ -1,6 +1,6 @@ package io.polyfrost.oneconfig.hud.interfaces; -import io.polyfrost.oneconfig.renderer.Renderer; +import io.polyfrost.oneconfig.lwjgl.RenderManager; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; @@ -68,7 +68,7 @@ public class TextHud extends BasicHud { private void drawText(List<String> lines, int x, int y, float scale) { for (int i = 0; i < lines.size(); i++) { - Renderer.drawScaledString(lines.get(i), x, y + i * 12, 0xffffff, shadow, scale); + RenderManager.drawScaledString(lines.get(i), x, y + i * 12, 0xffffff, shadow, scale); } } |
