Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2499

ItemStack HashCode.

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Ubuntu 16.04_x86_64

      Currently the ItemStack class has overriden the Object#hashCode function. I am requesting that this either be removed and use Java's default hashCode function or have the final modifier taken off so it can be overriden by plugins implementing the API. It makes sense for this to be so; a stack of dirt shouldn't be 'equal' to a separate stack of dirt with the same properties (material, count, data) because they will still always have a different location.

            Unassigned Unassigned
            Scetra Scetra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: