Fix item handler documentation that says returning ItemStack.EMPTY is required (#4587)

This commit is contained in:
Joseph C. Sible 2017-12-13 00:18:42 -05:00 committed by mezz
parent 07c4da8f36
commit 83b7010ddf
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public interface IItemHandler
* @param slot Slot to insert into.
* @param stack ItemStack to insert. This must not be modified by the item handler.
* @param simulate If true, the insertion is only simulated
* @return The remaining ItemStack that was not inserted (if the entire stack is accepted, then return ItemStack.EMPTY).
* @return The remaining ItemStack that was not inserted (if the entire stack is accepted, then return an empty ItemStack).
* May be the same as the input ItemStack if unchanged, otherwise a new ItemStack.
* The returned ItemStack can be safely modified after.
**/