aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-26 21:00:42 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-26 21:00:42 +0100
commitacd76f405b62bebdca3eadb921b5881f49202462 (patch)
tree3e7ff8f7853f80dd7929677752a430d58f4df6d3 /src/main/java/at/hannibal2
parenta47ac48c02624f3c5e4104367d0e0ad363ee4722 (diff)
downloadskyhanni-acd76f405b62bebdca3eadb921b5881f49202462.tar.gz
skyhanni-acd76f405b62bebdca3eadb921b5881f49202462.tar.bz2
skyhanni-acd76f405b62bebdca3eadb921b5881f49202462.zip
add todo
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
index 0c267e6c0..de6793c10 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
@@ -317,6 +317,7 @@ object LorenzUtils {
inline fun <reified T : Enum<T>> enumJoinToPattern(noinline transform: (T) -> CharSequence = { it.name }) =
enumValues<T>().joinToString("|", transform = transform)
+ // TODO move to val by lazy
fun isInDevEnviromen() = Launch.blackboard["fml.deobfuscatedEnvironment"] as Boolean
fun shutdownMinecraft(reason: String? = null) {