diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt')
-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 be314a030..90ef85025 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt @@ -344,13 +344,13 @@ object ItemUtils { fun NEUInternalName.isRune(): Boolean = contains("_RUNE;") - // use when showing the item name to the user (in guis, chat message, etc), not for comparing + // use when showing the item name to the user (in guis, chat message, etc.), not for comparing val ItemStack.itemName: String get() = getInternalName().itemName val ItemStack.itemNameWithoutColor: String get() = itemName.removeColor() - // use when showing the item name to the user (in guis, chat message, etc), not for comparing + // use when showing the item name to the user (in guis, chat message, etc.), not for comparing val NEUInternalName.itemName: String get() = itemNameCache.getOrPut(this) { grabItemName() } |