aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-12-21 12:03:44 +0000
committerGitHub <noreply@github.com>2023-12-21 13:03:44 +0100
commit626e4c822dd56e1c36f281220499fa19b83afdfc (patch)
tree456656b0d42d8a5bb0e924dc2e52208094047812 /src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
parent2fbd2295a7ab9efeb8f388daec10789c06a7f93c (diff)
downloadskyhanni-626e4c822dd56e1c36f281220499fa19b83afdfc.tar.gz
skyhanni-626e4c822dd56e1c36f281220499fa19b83afdfc.tar.bz2
skyhanni-626e4c822dd56e1c36f281220499fa19b83afdfc.zip
Remove getInternalName_old (#710)
Remove getInternalName_old #710
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
index 420f3decb..38e1c40c0 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
@@ -124,10 +124,6 @@ object ItemUtils {
return false
}
- // TODO remove
- @Deprecated("Use NEUInternalName rather than String", ReplaceWith("getInternalName()"))
- fun ItemStack.getInternalName_old() = getInternalName().asString()
-
fun ItemStack.getInternalName() = getInternalNameOrNull() ?: NEUInternalName.NONE
fun ItemStack.getInternalNameOrNull() = getRawInternalName()?.asInternalName()