Skip to content

Commit 42d80fc

Browse files
I missed this too
1 parent 45e2d7d commit 42d80fc

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

src/main/java/me/flame/menus/menu/IMenu.java

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,6 @@ public interface IMenu<M extends IMenu<M>> extends Iterable<MenuItem>, Inventory
104104
*/
105105
M setItem(int slot, MenuItem item);
106106

107-
/**
108-
* remove the itemStack from the list of items in the menu.
109-
* @param item the itemStack to remove
110-
* @return the object for chaining
111-
*/
112-
M removeItem(@NotNull final MenuItem item);
113-
114-
/**
115-
* remove the itemStack from the list of items in the menu.
116-
* @param itemStack the itemStack to remove
117-
* @return the object for chaining
118-
*/
119-
M removeItem(@NotNull final ItemStack itemStack);
120-
121107
/**
122108
* get the itemStack from the list of items in the menu.
123109
* @param i the index of the itemStack
@@ -202,7 +188,7 @@ public interface IMenu<M extends IMenu<M>> extends Iterable<MenuItem>, Inventory
202188
* @param itemStacks the items to remove
203189
* @return the object for chaining
204190
*/
205-
M removeItems(@NotNull final ItemStack... itemStacks);
191+
M removeItem(@NotNull final ItemStack... itemStacks);
206192

207193
/**
208194
* Remove all the specified items from the inventory.
@@ -216,14 +202,14 @@ public interface IMenu<M extends IMenu<M>> extends Iterable<MenuItem>, Inventory
216202
* @param itemStacks the items to remove
217203
* @return the object for chaining
218204
*/
219-
M removeItems(@NotNull final MenuItem... itemStacks);
205+
M removeItem(@NotNull final MenuItem... itemStacks);
220206

221207
/**
222208
* Remove all the specified items from the inventory.
223209
* @param itemStacks the items to remove
224210
* @return the object for chaining
225211
*/
226-
M removeItems(@NotNull final List<MenuItem> itemStacks);
212+
M removeItem(@NotNull final List<MenuItem> itemStacks);
227213

228214
/**
229215
* Update the inventory which recreates the items on default

0 commit comments

Comments
 (0)