aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2023-03-04 03:03:33 +0100
committerGitHub <noreply@github.com>2023-03-04 13:03:33 +1100
commit5a79ff410eb64e906c555751b32bef87cc7caee9 (patch)
treef2c2e40a7cca305959b04d2dfba99ebc3e822949 /src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
parent5dd063fbba6bde64806a7620541dc2d9bdf42871 (diff)
downloadnotenoughupdates-5a79ff410eb64e906c555751b32bef87cc7caee9.tar.gz
notenoughupdates-5a79ff410eb64e906c555751b32bef87cc7caee9.tar.bz2
notenoughupdates-5a79ff410eb64e906c555751b32bef87cc7caee9.zip
I hate FontRenderer. (#612)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
index d97227cf..147bf567 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/GuiInvButtonEditor.java
@@ -411,7 +411,6 @@ public class GuiInvButtonEditor extends GuiScreen {
);
Utils.drawStringCenteredScaledMaxWidth(
"Load preset",
- fontRendererObj,
guiLeft - 44 - 2 - 22 - (NotEnoughUpdates.INSTANCE.config.customArmour.enableArmourHud ? 25 : 0),
guiTop + 8,
false,
@@ -420,7 +419,6 @@ public class GuiInvButtonEditor extends GuiScreen {
);
Utils.drawStringCenteredScaledMaxWidth(
"from Clipboard",
- fontRendererObj,
guiLeft - 44 - 2 - 22 - (NotEnoughUpdates.INSTANCE.config.customArmour.enableArmourHud ? 25 : 0),
guiTop + 16,
false,
@@ -429,7 +427,6 @@ public class GuiInvButtonEditor extends GuiScreen {
);
Utils.drawStringCenteredScaledMaxWidth(
"Save preset",
- fontRendererObj,
guiLeft - 44 - 2 - 22 - (NotEnoughUpdates.INSTANCE.config.customArmour.enableArmourHud ? 25 : 0),
guiTop + 8 + 24,
false,
@@ -438,7 +435,6 @@ public class GuiInvButtonEditor extends GuiScreen {
);
Utils.drawStringCenteredScaledMaxWidth(
"to Clipboard",
- fontRendererObj,
guiLeft - 44 - 2 - 22 - (NotEnoughUpdates.INSTANCE.config.customArmour.enableArmourHud ? 25 : 0),
guiTop + 16 + 24,
false,
@@ -459,7 +455,6 @@ public class GuiInvButtonEditor extends GuiScreen {
);
Utils.drawStringCenteredScaledMaxWidth(
"\u00a7nPresets",
- fontRendererObj,
guiLeft + xSize + 22 + 40,
guiTop + 10,
false,
@@ -471,7 +466,6 @@ public class GuiInvButtonEditor extends GuiScreen {
for (String presetName : presets.keySet()) {
Utils.drawStringCenteredScaledMaxWidth(
presetName,
- fontRendererObj,
guiLeft + xSize + 22 + 40,
guiTop + 25 + 10 * (index++),
false,