aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-29 20:32:54 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-09-29 20:32:54 +0200
commite649be7dbb1966eb78a15c86905ed41fda9ee607 (patch)
tree6486a537eaf77879ecca42f6d9b2cdec3d653499 /src/main/java
parentc3ce9058256c80daa3f063155a54bba006bcc5b7 (diff)
downloadskyhanni-e649be7dbb1966eb78a15c86905ed41fda9ee607.tar.gz
skyhanni-e649be7dbb1966eb78a15c86905ed41fda9ee607.tar.bz2
skyhanni-e649be7dbb1966eb78a15c86905ed41fda9ee607.zip
code cleanup
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
index 923972bd2..e00aadf42 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt
@@ -21,7 +21,7 @@ object ItemUtils {
fun ItemStack.cleanName() = this.displayName.removeColor()
- fun isSack(stack: ItemStack) = (stack.getInternalName().endsWith("_SACK") && stack.cleanName().endsWith(" Sack"))
+ fun isSack(stack: ItemStack) = stack.getInternalName().endsWith("_SACK") && stack.cleanName().endsWith(" Sack")
fun ItemStack.getLore(): List<String> {
val tagCompound = this.tagCompound ?: return emptyList()