diff options
author | Brady <thatgravyboat@gmail.com> | 2024-06-09 07:27:18 -0230 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-09 11:57:18 +0200 |
commit | 0b7d5ba223657f0a5de33862871a2355e7235c18 (patch) | |
tree | f9bafed7c379d89c23d13af141b0dfa9df1dcc50 /src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | |
parent | 1c13055266d04715b2292cc6ab107202a346adca (diff) | |
download | skyhanni-0b7d5ba223657f0a5de33862871a2355e7235c18.tar.gz skyhanni-0b7d5ba223657f0a5de33862871a2355e7235c18.tar.bz2 skyhanni-0b7d5ba223657f0a5de33862871a2355e7235c18.zip |
Backend: Dev Modules (#2011)
Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt index d3a433e86..262b768a4 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt @@ -18,6 +18,7 @@ import at.hannibal2.skyhanni.utils.NumberUtil.isInt import at.hannibal2.skyhanni.utils.PrimitiveItemStack.Companion.makePrimitiveStack import at.hannibal2.skyhanni.utils.json.BaseGsonBuilder import at.hannibal2.skyhanni.utils.json.fromJson +import at.hannibal2.skyhanni.utils.system.PlatformUtils import com.google.gson.JsonObject import com.google.gson.JsonPrimitive import com.google.gson.TypeAdapter @@ -135,7 +136,7 @@ object NEUItems { name = name.removePrefix("§7[lvl 1➡100] ") if (name.contains("[lvl 1➡100]")) { - if (LorenzUtils.isInDevEnvironment()) { + if (PlatformUtils.isDevEnvironment) { error("wrong name: '$name'") } println("wrong name: '$name'") |