aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud_2
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-08 23:55:40 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-08 23:55:40 +0200
commit89c39cfe427064d69a9af767dfe9d2951cc6bd1b (patch)
treea1da6af1360c25018aa35b91d5fe4afcd0e9167c /src/main/java/com/thatgravyboat/skyblockhud_2
parent636fe64d36f46ecb428a619a6417fc99336cd6f3 (diff)
downloadskyhanni-89c39cfe427064d69a9af767dfe9d2951cc6bd1b.tar.gz
skyhanni-89c39cfe427064d69a9af767dfe9d2951cc6bd1b.tar.bz2
skyhanni-89c39cfe427064d69a9af767dfe9d2951cc6bd1b.zip
fixed typos
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud_2')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java b/src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java
index 1838710b2..149a2ca7d 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud_2/config/SBHConfigEditor.java
@@ -1,8 +1,5 @@
package com.thatgravyboat.skyblockhud_2.config;
-import static com.thatgravyboat.skyblockhud_2.GuiTextures.DISCORD;
-import static com.thatgravyboat.skyblockhud_2.GuiTextures.TWITTER;
-
import at.lorenz.mod.config.Features;
import com.google.common.collect.Lists;
import com.thatgravyboat.skyblockhud_2.core.GlScissorStack;
@@ -14,10 +11,6 @@ import com.thatgravyboat.skyblockhud_2.core.util.lerp.LerpUtils;
import com.thatgravyboat.skyblockhud_2.core.util.lerp.LerpingInteger;
import com.thatgravyboat.skyblockhud_2.core.util.render.RenderUtils;
import com.thatgravyboat.skyblockhud_2.core.util.render.TextRenderUtils;
-import java.awt.*;
-import java.net.URI;
-import java.util.*;
-import java.util.List;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.Gui;
@@ -28,10 +21,19 @@ import net.minecraft.util.ResourceLocation;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.GL11;
+import java.awt.*;
+import java.net.URI;
+import java.util.List;
+import java.util.*;
+
+import static com.thatgravyboat.skyblockhud_2.GuiTextures.DISCORD;
+
public class SBHConfigEditor extends GuiElement {
- private static final ResourceLocation[] socialsIco = new ResourceLocation[] { DISCORD, TWITTER };
- private static final String[] socialsLink = new String[] { "https://discord.gg/moulberry", "https://twitter.com/thatgravyboat/" };
+ // private static final ResourceLocation[] socialsIco = new ResourceLocation[] { DISCORD, TWITTER };
+ private static final ResourceLocation[] socialsIco = new ResourceLocation[]{DISCORD};
+ // private static final String[] socialsLink = new String[] { "https://discord.gg/NcvkPDBA6Y", "https://twitter.com/thatgravyboat/" };
+ private static final String[] socialsLink = new String[]{"https://discord.gg/NcvkPDBA6Y"};
private final long openedMillis;
@@ -473,7 +475,8 @@ public class SBHConfigEditor extends GuiElement {
if (mouseX >= socialLeft && mouseX <= socialLeft + 16 && mouseY >= y + 6 && mouseY <= y + 23) {
try {
Desktop.getDesktop().browse(new URI(socialsLink[socialIndex]));
- } catch (Exception ignored) {}
+ } catch (Exception ignored) {
+ }
return true;
}
}