diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/ItemUtils.kt | 2 |
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 a2c1f1aa3..923972bd2 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") + fun isSack(stack: ItemStack) = (stack.getInternalName().endsWith("_SACK") && stack.cleanName().endsWith(" Sack")) fun ItemStack.getLore(): List<String> { val tagCompound = this.tagCompound ?: return emptyList() |