aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-09 22:36:35 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-09 22:36:35 +0100
commitbcf4a583c5d238d7b3b1a1d2498d9857c3235172 (patch)
tree3df35bf654ff4fc5766fba42ad08e9be8b81ac5f /src/main/java/at
parentaf7f09284caa16d7ba70c97a2c28c6a8fc1f83e6 (diff)
downloadskyhanni-bcf4a583c5d238d7b3b1a1d2498d9857c3235172.tar.gz
skyhanni-bcf4a583c5d238d7b3b1a1d2498d9857c3235172.tar.bz2
skyhanni-bcf4a583c5d238d7b3b1a1d2498d9857c3235172.zip
added deprecation
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
index dff8a77e9..ba23b2624 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt
@@ -291,6 +291,7 @@ object NEUItems {
}
+ @Deprecated("Do not use strings as id", ReplaceWith("getMultiplier with NEUInternalName"))
fun getMultiplier(internalName: String, tryCount: Int = 0): Pair<String, Int> {
val pair = getMultiplier(internalName.asInternalName(), tryCount)
return Pair(pair.first.asString(), pair.second)