aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java
diff options
context:
space:
mode:
authornextdaydelivery <12willettsh@gmail.com>2022-03-20 11:37:24 +0000
committernextdaydelivery <12willettsh@gmail.com>2022-03-20 11:37:24 +0000
commit72118423d214b964ea9bd3d2a1411c72941c5f90 (patch)
tree90569b2d1a5fb2b6ac64fcf9141aeec518a8ddfc /src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java
parentfe04136d705ca5f946ee8353c7f7c67e284c9ca5 (diff)
downloadOneConfig-72118423d214b964ea9bd3d2a1411c72941c5f90.tar.gz
OneConfig-72118423d214b964ea9bd3d2a1411c72941c5f90.tar.bz2
OneConfig-72118423d214b964ea9bd3d2a1411c72941c5f90.zip
a few small things and a couple GUI starting things
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.java2
1 files changed, 1 insertions, 1 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 33bbd79..77f5880 100644
--- a/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java
+++ b/src/main/java/io/polyfrost/oneconfig/hud/interfaces/TextHud.java
@@ -72,7 +72,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.drawTextScale(lines.get(i), x, y + i * 12, 0xffffff, shadow, scale);
+ Renderer.drawScaledString(lines.get(i), x, y + i * 12, 0xffffff, shadow, scale);
}
}