From d1e16a47819509ed645bb93e1a173e0a97025cef Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 8 Jan 2025 19:25:29 +0100 Subject: build: Move mod to subproject --- mod/src/main/kotlin/moe/nea/ledger/DevUtil.kt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 mod/src/main/kotlin/moe/nea/ledger/DevUtil.kt (limited to 'mod/src/main/kotlin/moe/nea/ledger/DevUtil.kt') diff --git a/mod/src/main/kotlin/moe/nea/ledger/DevUtil.kt b/mod/src/main/kotlin/moe/nea/ledger/DevUtil.kt new file mode 100644 index 0000000..d0dd653 --- /dev/null +++ b/mod/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 -- cgit