mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-17 10:55:06 +00:00
remove useless parametrization
This commit is contained in:
2 files changed
+2
-3
No files matched your search
@@ -7,10 +7,9 @@ import com.glodblock.github.loader.ItemAndBlockHolder;
|
||||
import com.google.common.base.Optional;
|
||||
|
||||
import appeng.api.storage.StorageChannel;
|
||||
import appeng.api.storage.data.IAEFluidStack;
|
||||
import appeng.items.AEBaseCell;
|
||||
|
||||
public abstract class FCBaseItemCell extends AEBaseCell<IAEFluidStack> {
|
||||
public abstract class FCBaseItemCell extends AEBaseCell {
|
||||
|
||||
protected CellType component;
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ public class NEISearchFilter implements SearchTokenParser.ISearchParserProvider
|
||||
|
||||
@Override
|
||||
public boolean matches(ItemStack itemStack) {
|
||||
if (itemStack.getItem() instanceof AEBaseCell<?>) {
|
||||
if (itemStack.getItem() instanceof AEBaseCell) {
|
||||
final IMEInventoryHandler<?> inventory = AEApi.instance().registries().cell()
|
||||
.getCellInventory(itemStack, null, StorageChannel.FLUIDS);
|
||||
if (inventory instanceof final FluidCellInventoryHandler handler) {
|
||||
|
||||
Reference in new issue
Block a user