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

Documentation for ItemMeta#getCustomModelData is incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • This server is running CraftBukkit version 3491-Spigot-b081915-95d233d (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)
    • Yes

    Description

      The javadocs for ItemMeta#getCustomModelData() specifies the following in the return tag "the localized name that is set". However, this is not correct, since this method returns the custom model data. This return tag should probably be changed such that it reflects which data the method actually returns, e.g. "the custom model data that is set".

      Attachments

        Activity

          People

            Doc Doc
            stefvanschie Stef van Schie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: