diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-14 15:59:05 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-14 15:59:05 +0200 |
commit | e514b16dbb8a7d95b77e95a7a51f8cc50cd31370 (patch) | |
tree | 9f3e257d38956a1b81ab34ab24c52ace27dd0479 | |
parent | d376ff6ccac98716de41b5d8d77248254e002d11 (diff) | |
download | skyhanni-e514b16dbb8a7d95b77e95a7a51f8cc50cd31370.tar.gz skyhanni-e514b16dbb8a7d95b77e95a7a51f8cc50cd31370.tar.bz2 skyhanni-e514b16dbb8a7d95b77e95a7a51f8cc50cd31370.zip |
code cleanup
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt index c81841268..d3298e0b0 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt @@ -3,12 +3,12 @@ package at.hannibal2.skyhanni.utils import at.hannibal2.skyhanni.test.command.CopyErrorCommand import at.hannibal2.skyhanni.utils.NEUInternalName.Companion.asInternalName import at.hannibal2.skyhanni.utils.NEUItems.getItemStack +import at.hannibal2.skyhanni.utils.NumberUtil.formatNumber import at.hannibal2.skyhanni.utils.SimpleTimeMark.Companion.asTimeMark import at.hannibal2.skyhanni.utils.SkyBlockItemModifierUtils.cachedData import at.hannibal2.skyhanni.utils.SkyBlockItemModifierUtils.isRecombobulated import at.hannibal2.skyhanni.utils.StringUtils.matchRegex import at.hannibal2.skyhanni.utils.StringUtils.removeColor -import at.hannibal2.skyhanni.utils.NumberUtil.formatNumber import com.google.gson.GsonBuilder import com.google.gson.JsonObject import net.minecraft.client.Minecraft @@ -281,7 +281,7 @@ object ItemUtils { private fun makePair(input: String, itemName: String, matcher: Matcher): Pair<String, Int> { val matcherAmount = matcher.group("amount") - val amount = matcherAmount?.formatNumber()?.toInt() ?: 1; + val amount = matcherAmount?.formatNumber()?.toInt() ?: 1 val pair = Pair(itemName, amount) itemAmountCache[input] = pair return pair |