diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 12:42:27 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 12:42:27 +0200 |
commit | 7306eac55e3f5f5f0a0307e5af9e5fb7e147d0ab (patch) | |
tree | ca4c68f02782c8910e3ce8d6b92f6649bb51a111 /src/main/java/com/thatgravyboat/skyblockhud/overlay/RPGHud.java | |
parent | abd6c5d7275149a616ef9513e528eea270e526b5 (diff) | |
download | skyhanni-7306eac55e3f5f5f0a0307e5af9e5fb7e147d0ab.tar.gz skyhanni-7306eac55e3f5f5f0a0307e5af9e5fb7e147d0ab.tar.bz2 skyhanni-7306eac55e3f5f5f0a0307e5af9e5fb7e147d0ab.zip |
renamed lorenz mod
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/overlay/RPGHud.java')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/overlay/RPGHud.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/overlay/RPGHud.java b/src/main/java/com/thatgravyboat/skyblockhud/overlay/RPGHud.java index 1c3cbb0ef..7ffb39b6f 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/overlay/RPGHud.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/overlay/RPGHud.java @@ -1,7 +1,7 @@ package com.thatgravyboat.skyblockhud.overlay; import com.mojang.realmsclient.gui.ChatFormatting; -import com.thatgravyboat.skyblockhud.SkyblockHud; +import com.thatgravyboat.skyblockhud.LorenzMod; import com.thatgravyboat.skyblockhud.core.config.Position; import com.thatgravyboat.skyblockhud.handlers.HeldItemHandler; import com.thatgravyboat.skyblockhud.textures.Textures; @@ -52,7 +52,7 @@ public class RPGHud extends Gui { @SubscribeEvent public void renderOverlay(RenderGameOverlayEvent.Post event) { - if (Utils.overlayShouldRender(event.type, SkyblockHud.hasSkyblockScoreboard(), SkyblockHud.config.rpg.showRpgHud)) { + if (Utils.overlayShouldRender(event.type, LorenzMod.hasSkyblockScoreboard(), LorenzMod.config.rpg.showRpgHud)) { Minecraft mc = Minecraft.getMinecraft(); GlStateManager.enableBlend(); GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f); @@ -62,12 +62,12 @@ public class RPGHud extends Gui { } mc.renderEngine.bindTexture(Textures.texture.playerStats); - Position position = SkyblockHud.config.rpg.rpgHudPosition; + Position position = LorenzMod.config.rpg.rpgHudPosition; int x = position.getAbsX(event.resolution, 120); int y = position.getAbsY(event.resolution, 47); - boolean rightAligned = position.rightAligned(event.resolution, 120) && SkyblockHud.config.rpg.flipHud; + boolean rightAligned = position.rightAligned(event.resolution, 120) && LorenzMod.config.rpg.flipHud; drawTexturedModalRect(x, y, rightAligned ? 131 : 5, 6, 120, 47); |