Further StorageChannel refactoring (#3152)

Updated Drives to support more than Item and Fluid cells.
Use Collections.emptyList() instead of creating empty ArrayLists.
Fixes a NPE with uninitialized ME Chests.

Fixes #3150
This commit is contained in:
yueh
2017-10-14 14:12:24 +02:00
committed by GitHub
parent 6e81f698c0
commit ab7f35a9ee
6 changed files with 36 additions and 46 deletions
@@ -577,7 +577,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
return Collections.singletonList( out );
}
}
return Arrays.asList( new IMEInventoryHandler[] {} );
return Collections.emptyList();
}
@Override