mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 06:50:12 +01:00
Change incorrect throws jd
This commit is contained in:
parent
1cd52a97e7
commit
a675dbe509
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
|
||||||
* @param slot The slot to drop
|
* @param slot The slot to drop
|
||||||
* @param amount The number of items to drop from this slot. Values below 1 don't drop an Item
|
* @param amount The number of items to drop from this slot. Values below 1 don't drop an Item
|
||||||
* @return The dropped item entity, or null if the action was unsuccessful
|
* @return The dropped item entity, or null if the action was unsuccessful
|
||||||
* @throws IndexOutOfBoundsException If the slot is negative or bigger than the player's inventory
|
* @throws IllegalArgumentException If the slot is negative or bigger than the player's inventory
|
||||||
*/
|
*/
|
||||||
public @Nullable Item dropItemRandomly(int slot, int amount);
|
public @Nullable Item dropItemRandomly(int slot, int amount);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue