Commits

md_5 authored c5354dfc268
Fix JavaDoc typo in ItemStack#getAmount
No tags

src/main/java/org/bukkit/inventory/ItemStack.java

Modified
198 198 this.type = type;
199 199 if (this.meta != null) {
200 200 this.meta = Bukkit.getItemFactory().asMetaFor(meta, getType0());
201 201 }
202 202 createData((byte) 0);
203 203 }
204 204
205 205 /**
206 206 * Gets the amount of items in this stack
207 207 *
208 - * @return Amount of items in this stick
208 + * @return Amount of items in this stack
209 209 */
210 210 public int getAmount() {
211 211 return amount;
212 212 }
213 213
214 214 /**
215 215 * Sets the amount of items in this stack
216 216 *
217 217 * @param amount New amount of items in this stack
218 218 */

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

Add shortcut