Renamed Inventory.removeAll to Inventory.removeItems

This commit is contained in:
Flo0 2024-08-29 12:35:24 +02:00
parent 726214bfad
commit 0fe33b71c0

View file

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