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

Make PlayerEvent's async constructor public

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • This server is running CraftBukkit version git-Spigot-df0eb25-411609d (MC: 1.14.2) (Implementing API version 1.14.2-R0.1-SNAPSHOT)
    • Yes

      Analogous to my old issue to allow for async/sync event calling please allow to set this on PlayerEvents as well. The async constructor for PlayerEvent is defined as package visible, but external events like mine might need to use that constructor. As you explicitly answered me that the Event is supposed to be set to sync/async accordingly I think that not making the constructor public is an oversight and therefore a bug.

            Unassigned Unassigned
            Photon Photon
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: