@@ -104,20 +104,6 @@ public interface IMenu<M extends IMenu<M>> extends Iterable<MenuItem>, Inventory
104
104
*/
105
105
M setItem (int slot , MenuItem item );
106
106
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
-
121
107
/**
122
108
* get the itemStack from the list of items in the menu.
123
109
* @param i the index of the itemStack
@@ -202,7 +188,7 @@ public interface IMenu<M extends IMenu<M>> extends Iterable<MenuItem>, Inventory
202
188
* @param itemStacks the items to remove
203
189
* @return the object for chaining
204
190
*/
205
- M removeItems (@ NotNull final ItemStack ... itemStacks );
191
+ M removeItem (@ NotNull final ItemStack ... itemStacks );
206
192
207
193
/**
208
194
* Remove all the specified items from the inventory.
@@ -216,14 +202,14 @@ public interface IMenu<M extends IMenu<M>> extends Iterable<MenuItem>, Inventory
216
202
* @param itemStacks the items to remove
217
203
* @return the object for chaining
218
204
*/
219
- M removeItems (@ NotNull final MenuItem ... itemStacks );
205
+ M removeItem (@ NotNull final MenuItem ... itemStacks );
220
206
221
207
/**
222
208
* Remove all the specified items from the inventory.
223
209
* @param itemStacks the items to remove
224
210
* @return the object for chaining
225
211
*/
226
- M removeItems (@ NotNull final List <MenuItem > itemStacks );
212
+ M removeItem (@ NotNull final List <MenuItem > itemStacks );
227
213
228
214
/**
229
215
* Update the inventory which recreates the items on default
0 commit comments