From a675dbe5097ca1e841be6b4b8dfc9bcf0384908e Mon Sep 17 00:00:00 2001 From: Strokkur24 <133226102+Strokkur424@users.noreply.github.com> Date: Wed, 25 Dec 2024 01:07:00 +0100 Subject: [PATCH] Change incorrect throws jd --- paper-api/src/main/java/org/bukkit/entity/HumanEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/HumanEntity.java b/paper-api/src/main/java/org/bukkit/entity/HumanEntity.java index ebd6aad508..774407278e 100644 --- a/paper-api/src/main/java/org/bukkit/entity/HumanEntity.java +++ b/paper-api/src/main/java/org/bukkit/entity/HumanEntity.java @@ -737,7 +737,7 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder * @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 * @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);