Uploaded image for project: 'SpigotPlugins'
  1. SpigotPlugins
  2. PLUG-329

@Command annotation broken in 1.2.2-SNAPSHOT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • Windows 10

      Java 8-202 (x64)

      Maven 3.6.0

    • 1.2.2-SNAPSHOT
    • plugin-annotations library
    • Yes

      The @Command annotation seems to be broken in plugin-annotations 1.2.2-SNAPSHOT.

      When I try this code in 1.2.2-SNAPSHOT:

      @Command(name = "emc")
      public class EqualTradeCmd implements CommandExecutor {
      

      I get this result in my plugin.yml:

      commands: {}
      

      But when I downgrade to 1.2.1-SNAPSHOT, the same code yields this result:

      commands:
        emc: {}
      

            Unassigned Unassigned
            HyperSpeeed Nico Mexis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: