aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/ledger/DevUtil.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-12-13 17:42:27 +0100
committerLinnea Gräf <nea@nea.moe>2024-12-13 17:42:27 +0100
commitc4e4985b8b96ed156851c6be6d4a8d5e110c3040 (patch)
tree4dc7d19ccff486a9f612738db7ea196beffb38d1 /src/main/kotlin/moe/nea/ledger/DevUtil.kt
parent4e986409ad65aa5c11baf7e8571b78b89ec260a4 (diff)
downloadLocalTransactionLedger-c4e4985b8b96ed156851c6be6d4a8d5e110c3040.tar.gz
LocalTransactionLedger-c4e4985b8b96ed156851c6be6d4a8d5e110c3040.tar.bz2
LocalTransactionLedger-c4e4985b8b96ed156851c6be6d4a8d5e110c3040.zip
Add error reporting framework
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/DevUtil.kt')
-rw-r--r--src/main/kotlin/moe/nea/ledger/DevUtil.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/DevUtil.kt b/src/main/kotlin/moe/nea/ledger/DevUtil.kt
new file mode 100644
index 0000000..d0dd653
--- /dev/null
+++ b/src/main/kotlin/moe/nea/ledger/DevUtil.kt
@@ -0,0 +1,7 @@
+package moe.nea.ledger
+
+import net.minecraft.launchwrapper.Launch
+
+object DevUtil {
+ val isDevEnv = Launch.blackboard["fml.deobfuscatedEnvironment"] as Boolean
+} \ No newline at end of file