Skip to content

Commit

Permalink
lets try this again
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTheodor committed Mar 25, 2024
1 parent c6dc72f commit 66a7cdf
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,7 @@ class EcoFastItemStack(
override fun hashCode(): Int {
var result = handle.getTag()?.hashCode() ?: 1
result = 31 * result + Item.getId(handle.getItem())

val custom = com.willfp.eco.core.items.Items.getCustomItem(bukkit)

if (custom != null) {
result = 31 * result + custom.key.toString().hashCode()
}

result = 31 * result + baseTag.hashCode()
result = 31 * result + type.hashCode()
return result
}
Expand Down

0 comments on commit 66a7cdf

Please sign in to comment.