• Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      Windows 10
      Spigot git-Spigot-604e046-69e196f (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)

      SpawnEgg#getSpawnedType always returns null.
      Previously they would return the entity a SpawnEgg would spawn.

          [SPIGOT-1592] SpawnEgg#getSpawnedType always returns null

          orgin_org added a comment -

          Any news on this?

          orgin_org added a comment - Any news on this?

          tastybento added a comment -

          I could really do with this. Is the pull request okay?

          tastybento added a comment - I could really do with this. Is the pull request okay?

          Is there any update on this or furthermore what's the status of the PR?

          Sebastian Binder added a comment - Is there any update on this or furthermore what's the status of the PR?

          Matthew Steglinski added a comment - - edited

          Matthew Steglinski added a comment - - edited A PR has already been submitted and is under review: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/148/overview

          Faris Rehman added a comment -

          I would have made this myself but I don't want to give personal details etc. for this contribution agreement or w/e.

          Faris Rehman added a comment - I would have made this myself but I don't want to give personal details etc. for this contribution agreement or w/e.

          Faris Rehman added a comment -

          Any update on this...

          Faris Rehman added a comment - Any update on this...

          md_5 added a comment -

          You have to use ItemMeta when submitting for inclusion in the API, so it's a bit more involved

          md_5 added a comment - You have to use ItemMeta when submitting for inclusion in the API, so it's a bit more involved

          tastybento added a comment - - edited

          Hmm, I wrote a 1.9 version of the class that seems to work okay. I'll submit it as a pull request once I've sorted the legal out. It's GPL 3 anyway.

          https://github.com/tastybento/askyblock/blob/3.0.0/src/com/wasteofplastic/askyblock/util/SpawnEgg1_9.java

          However, I wrote this mainly to enable itemstack to monster egg conversion and back, and I know nothing about the greater structure of spigot...

          tastybento added a comment - - edited Hmm, I wrote a 1.9 version of the class that seems to work okay. I'll submit it as a pull request once I've sorted the legal out. It's GPL 3 anyway. https://github.com/tastybento/askyblock/blob/3.0.0/src/com/wasteofplastic/askyblock/util/SpawnEgg1_9.java However, I wrote this mainly to enable itemstack to monster egg conversion and back, and I know nothing about the greater structure of spigot...

          LEGOlord 208 added a comment -

          If you aren't lazy like me, and instead use reflection it won't break

          LEGOlord 208 added a comment - If you aren't lazy like me, and instead use reflection it won't break

          orgin_org added a comment -

          @LEGOlord

          Wouldn't that make my plugin break at each update?

          orgin_org added a comment - @LEGOlord Wouldn't that make my plugin break at each update?

            Assignee:
            Unassigned
            Reporter:
            LEGOlord 208
            Votes:
            21 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: