[SPIGOT-7027] Documentation for ItemMeta#getCustomModelData is incorrect Created: 31/May/22  Updated: 25/Dec/24  Resolved: 01/Jun/22

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Stef van Schie Assignee: Doc
Resolution: Fixed Votes: 0
Labels: javadocs

Version: This server is running CraftBukkit version 3491-Spigot-b081915-95d233d (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)
Guidelines Read: 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".



 Comments   
Comment by Doc [ 01/Jun/22 ]

Thanks. Created PR with the changes https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/747/overview

Generated at Thu Apr 03 16:05:50 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.