Commits

md_5 authored d01a9a06ad7
SPIGOT-3379: Generalise canPickupItems to other entities.
No tags

src/main/java/org/bukkit/entity/LivingEntity.java

Modified
294 294
295 295 /**
296 296 * Gets the inventory with the equipment worn by the living entity.
297 297 *
298 298 * @return the living entity's inventory
299 299 */
300 300 public EntityEquipment getEquipment();
301 301
302 302 /**
303 303 * Sets whether or not the living entity can pick up items.
304 - * <p>
305 - * This method has no effect on a {@link HumanEntity}.
306 304 *
307 305 * @param pickup whether or not the living entity can pick up items
308 306 */
309 307 public void setCanPickupItems(boolean pickup);
310 308
311 309 /**
312 310 * Gets if the living entity can pick up items.
313 311 *
314 312 * @return whether or not the living entity can pick up items
315 313 */

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

Add shortcut