Commits

Doc authored and md_5 committed d565a710e0d
SPIGOT-7027: Documentation for ItemMeta#getCustomModelData is incorrect
No tags

src/main/java/org/bukkit/inventory/meta/ItemMeta.java

Modified
112 112
113 113 /**
114 114 * Gets the custom model data that is set.
115 115 * <p>
116 116 * CustomModelData is an integer that may be associated client side with a
117 117 * custom item model.
118 118 * <p>
119 119 * Plugins should check that hasCustomModelData() returns <code>true</code>
120 120 * before calling this method.
121 121 *
122 - * @return the localized name that is set
122 + * @return the custom model data that is set
123 123 */
124 124 int getCustomModelData();
125 125
126 126 /**
127 127 * Sets the custom model data.
128 128 * <p>
129 129 * CustomModelData is an integer that may be associated client side with a
130 130 * custom item model.
131 131 *
132 132 * @param data the data to set, or null to clear

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut