Make more specific

This commit is contained in:
raoulvdberge
2017-06-24 20:15:05 +02:00
parent f4ada773a7
commit 1e95a9620b
2 changed files with 2 additions and 2 deletions

View File

@@ -206,7 +206,7 @@ public interface INetwork {
* @return null if we didn't extract anything, or a stack with the result
*/
@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.

View File

@@ -454,7 +454,7 @@ public class TileController extends TileBase implements ITickable, INetwork, IRe
}
@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 received = 0;