Make more specific
This commit is contained in:
@@ -206,7 +206,7 @@ public interface INetwork {
|
|||||||
* @return null if we didn't extract anything, or a stack with the result
|
* @return null if we didn't extract anything, or a stack with the result
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
ItemStack extractItem(@Nonnull ItemStack stack, int size, int flags, boolean simulate, Predicate<IStorage> filter);
|
ItemStack extractItem(@Nonnull ItemStack stack, int size, int flags, boolean simulate, Predicate<IStorage<ItemStack>> filter);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extracts an item from this network.
|
* Extracts an item from this network.
|
||||||
|
|||||||
@@ -454,7 +454,7 @@ public class TileController extends TileBase implements ITickable, INetwork, IRe
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ItemStack extractItem(@Nonnull ItemStack stack, int size, int flags, boolean simulate, Predicate<IStorage> filter) {
|
public ItemStack extractItem(@Nonnull ItemStack stack, int size, int flags, boolean simulate, Predicate<IStorage<ItemStack>> filter) {
|
||||||
int requested = size;
|
int requested = size;
|
||||||
int received = 0;
|
int received = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user