From bcf4a583c5d238d7b3b1a1d2498d9857c3235172 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 9 Dec 2023 22:36:35 +0100 Subject: added deprecation --- src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/at') 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 { val pair = getMultiplier(internalName.asInternalName(), tryCount) return Pair(pair.first.asString(), pair.second) -- cgit