diff --git a/src/main/java/de/srendi/advancedperipherals/common/addons/appliedenergistics/AppEngApi.java b/src/main/java/de/srendi/advancedperipherals/common/addons/appliedenergistics/AppEngApi.java index 60d5d9d02..3bc0c6d8e 100644 --- a/src/main/java/de/srendi/advancedperipherals/common/addons/appliedenergistics/AppEngApi.java +++ b/src/main/java/de/srendi/advancedperipherals/common/addons/appliedenergistics/AppEngApi.java @@ -563,7 +563,7 @@ public static List listCells(IGridNode node) { if (!iterator.hasNext()) return items; while (iterator.hasNext()) { IStorageProvider entity = iterator.next().getService(IStorageProvider.class); - if (entity == null || !(entity instanceof DriveBlockEntity drive)) + if (!(entity instanceof DriveBlockEntity drive)) continue; InternalInventory inventory = drive.getInternalInventory();