From 24546e631a814937c61b203cc1a3a87cb899a2c8 Mon Sep 17 00:00:00 2001 From: Flo0 Date: Thu, 29 Aug 2024 12:50:59 +0200 Subject: [PATCH] Fixed and expanded javadoc comment --- src/main/java/org/bukkit/inventory/Inventory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/bukkit/inventory/Inventory.java b/src/main/java/org/bukkit/inventory/Inventory.java index b5deaf61..5d8ecf73 100644 --- a/src/main/java/org/bukkit/inventory/Inventory.java +++ b/src/main/java/org/bukkit/inventory/Inventory.java @@ -131,12 +131,12 @@ public interface Inventory extends Iterable { /** * Removes ItemStacks from the inventory, based on the given filter. *

- * It will try to remove 'as much as possible' each ItemStack that matches - * until the amount is reached. + * It will try to remove 'as much as possible' from each ItemStack that matches + * the filter, until the given amount is reached. *

* The returned int value specifies how many ItemStacks have been removed * from the inventory. If the returned value is less than the amount - * passed in, then the inventory does not contain enough ItemStacks to + * passed in, then the inventory did not contain enough ItemStacks to * satisfy the request. * * @param amount The amount of items to remove