mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-21 04:22:22 +00:00
Add empty inventory constant
Satisfies the nonnull requirement if its ever needed.
This commit is contained in:
1 parent
ea35fb298f
commit
5655cd60e2
1 file changed
+3
@@ -6,6 +6,9 @@ import net.minecraft.item.ItemStack;
|
||||
* Base inventory for inventories that do not use items
|
||||
*/
|
||||
public interface IEmptyInventory extends IReadOnlyInventory {
|
||||
/** Empty inventory instance, for cases where a nonnull inventory is required */
|
||||
IEmptyInventory EMPTY = new IEmptyInventory() {};
|
||||
|
||||
/** @deprecated unused method */
|
||||
@Deprecated
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user