mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Renamed Inventory.removeAll to Inventory.removeItems
This commit is contained in:
parent
726214bfad
commit
0fe33b71c0
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ public interface Inventory extends Iterable<ItemStack> {
|
|||
* will be removed
|
||||
* @return An int representing the amount of items removed
|
||||
*/
|
||||
public int removeAll(int amount, @NotNull Predicate<ItemStack> filter);
|
||||
public int removeItems(int amount, @NotNull Predicate<ItemStack> filter);
|
||||
|
||||
/**
|
||||
* Returns all ItemStacks from the inventory
|
||||
|
|
Loading…
Add table
Reference in a new issue