diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-11 03:48:13 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-11 03:48:19 +0200 |
commit | 5de353bf51c3a203226e9d308b09733f619a4535 (patch) | |
tree | d627b2d3ebc6f65b7516d0b7f468868c21713b39 /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | f0c5d57c0cbf186886ea1ac8ff6fd6f09b74e0c5 (diff) | |
download | skyhanni-5de353bf51c3a203226e9d308b09733f619a4535.tar.gz skyhanni-5de353bf51c3a203226e9d308b09733f619a4535.tar.bz2 skyhanni-5de353bf51c3a203226e9d308b09733f619a4535.zip |
typo
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/ButtonOnPause.kt | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/ButtonOnPause.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/ButtonOnPause.kt index 508927613..076e807c8 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/ButtonOnPause.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/ButtonOnPause.kt @@ -13,7 +13,7 @@ class ButtonOnPause { @SubscribeEvent fun onGuiAction(event: GuiScreenEvent.ActionPerformedEvent.Post) { - if (!LorenzUtils.isHypixel) return + if (!LorenzUtils.onHypixel) return if (SkyHanniMod.feature.misc.configButtonOnPause && event.gui is GuiIngameMenu && event.button.id == buttonId) { ConfigGuiManager.openConfigGui() @@ -22,7 +22,7 @@ class ButtonOnPause { @SubscribeEvent fun onGuiInitPost(event: GuiScreenEvent.InitGuiEvent.Post) { - if (!LorenzUtils.isHypixel) return + if (!LorenzUtils.onHypixel) return if (SkyHanniMod.feature.misc.configButtonOnPause && event.gui is GuiIngameMenu) { val x = event.gui.width - 105 diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt index 648b051bb..7e335c5e5 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt @@ -11,7 +11,7 @@ class PasteIntoSigns { @SubscribeEvent fun onTick(event: TickEvent.ClientTickEvent) { - if (!LorenzUtils.isHypixel) return + if (!LorenzUtils.onHypixel) return if (!SkyHanniMod.feature.misc.pasteIntoSigns) return if (Keyboard.isKeyDown(Keyboard.KEY_LCONTROL) && Keyboard.isKeyDown(Keyboard.KEY_V)) { |