mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Fixed and expanded javadoc comment
This commit is contained in:
parent
0fe33b71c0
commit
24546e631a
1 changed files with 3 additions and 3 deletions
|
@ -131,12 +131,12 @@ public interface Inventory extends Iterable<ItemStack> {
|
||||||
/**
|
/**
|
||||||
* Removes ItemStacks from the inventory, based on the given filter.
|
* Removes ItemStacks from the inventory, based on the given filter.
|
||||||
* <p>
|
* <p>
|
||||||
* It will try to remove 'as much as possible' each ItemStack that matches
|
* It will try to remove 'as much as possible' from each ItemStack that matches
|
||||||
* until the amount is reached.
|
* the filter, until the given amount is reached.
|
||||||
* <p>
|
* <p>
|
||||||
* The returned int value specifies how many ItemStacks have been removed
|
* The returned int value specifies how many ItemStacks have been removed
|
||||||
* from the inventory. If the returned value is less than the amount
|
* 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.
|
* satisfy the request.
|
||||||
*
|
*
|
||||||
* @param amount The amount of items to remove
|
* @param amount The amount of items to remove
|
||||||
|
|
Loading…
Add table
Reference in a new issue