aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-29 20:28:31 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-29 20:28:31 +0200
commit5887b8bb26a50ec202e530d91b445f3d3a9f5263 (patch)
treec7f77c1a5ad729ce4d0c1258062bd48f2941768d /src/main/java
parenta975256e3e5cdfa41ff5bce2b47c4ab7cfdb3997 (diff)
downloadskyhanni-5887b8bb26a50ec202e530d91b445f3d3a9f5263.tar.gz
skyhanni-5887b8bb26a50ec202e530d91b445f3d3a9f5263.tar.bz2
skyhanni-5887b8bb26a50ec202e530d91b445f3d3a9f5263.zip
small code cleanup
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt
index 1a37cb8ee..20f51abe2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt
@@ -214,7 +214,6 @@ class NonGodPotEffectDisplay {
)
}
- private fun isEnabled(): Boolean {
- return LorenzUtils.inSkyBlock && config.nonGodPotEffectDisplay && !LorenzUtils.inDungeons && !LorenzUtils.inKuudraFight
- }
+ private fun isEnabled() =
+ LorenzUtils.inSkyBlock && config.nonGodPotEffectDisplay && !LorenzUtils.inDungeons && !LorenzUtils.inKuudraFight
} \ No newline at end of file