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

CommandMap#getCommand returns null for a registerd command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • Host: Windows 10, amd64
      Java:
      openjdk 17.0.1 2021-10-19
      OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12)
      OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)

    • This server is running Paper version git-Paper-69 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 29bd57b)You are running the latest versionPrevious version: git-Paper-68 (MC: 1.18.1)
    • TestPlugin
    • Yes

      When calling CommandMap#getCommand("<vanilla/bukkit/paper* command here") it returns null.

      I've tested "paper", "msg", "minecraft:msg", "plugins", "bukkit:plugins"

      Interestingly "paper:paper" returns a non-null Command but "bukkit:plugins" doesn't

      Perhaps they're not being added to the map properly?

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

              Created:
              Updated:
              Resolved: