Change incorrect throws jd

This commit is contained in:
Strokkur24 2024-12-25 01:07:00 +01:00
parent 1cd52a97e7
commit a675dbe509
No known key found for this signature in database

View file

@ -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);