aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-15 21:55:56 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-15 21:55:56 +0100
commit1d5c13f9662bd6f8c434c41b4328cf4e17870ef8 (patch)
tree050cdde131c5ac1462639e2476b2e5e89d1e5cc9
parentc37a73faa53d2a4c5396ba3f83efb794d3761034 (diff)
downloadskyhanni-1d5c13f9662bd6f8c434c41b4328cf4e17870ef8.tar.gz
skyhanni-1d5c13f9662bd6f8c434c41b4328cf4e17870ef8.tar.bz2
skyhanni-1d5c13f9662bd6f8c434c41b4328cf4e17870ef8.zip
code cleanup
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt
index a5d241b90..50da1e97f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaProfitTracker.kt
@@ -139,6 +139,5 @@ class DianaProfitTracker {
allowedDrops = event.getConstant<DianaDrops>("DianaDrops").diana_drops
}
- fun isEnabled() =
- LorenzUtils.inSkyBlock && config.enabled && DianaAPI.featuresEnabled() && DianaAPI.hasSpadeInInventory()
+ fun isEnabled() = DianaAPI.featuresEnabled() && config.enabled && DianaAPI.hasSpadeInInventory()
}