diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt | 5 |
1 files changed, 5 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 446eeffc0..ad424d5d2 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/NEUItems.kt @@ -229,6 +229,11 @@ object NEUItems { GlStateManager.popMatrix() } + fun getMultiplier(internalName: NEUInternalName, tryCount: Int = 0): Pair<NEUInternalName, Int> { + val pair = getMultiplier(internalName.asString(), tryCount) + return Pair(pair.first.asInternalName(), pair.second) + } + fun getMultiplier(internalName: String, tryCount: Int = 0): Pair<String, Int> { if (multiplierCache.contains(internalName)) { return multiplierCache[internalName]!! |