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

hasOwner() on Skull doesn't properly check if the skull belongs to a valid player

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • None

      Currently, hasOwner() only checks if the profile field is null, and not whether the UUID of the GameProfile is null. This runs into the issue that calling hasOwner() isn't a sufficient enough check for trying to get the OfflinePlayer object representing the skull's owner with getOwningPlayer().

            Unassigned Unassigned
            zombachu zombachu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: