diff --git a/CHANGELOG.md b/CHANGELOG.md index ebe500253..8cb32903a 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### 1.4.4 - Fixed Disk Manipulator crashing due to empty stack (raoulvdberge) +- Fixed issue where empty stacks show up in the system (raoulvdberge) ### 1.4.3 - Updated Forge to 2282 (raoulvdberge) diff --git a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/externalstorage/StorageItemExternal.java b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/externalstorage/StorageItemExternal.java index 4f1d642df..31ca42468 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/externalstorage/StorageItemExternal.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/externalstorage/StorageItemExternal.java @@ -34,7 +34,7 @@ public abstract class StorageItemExternal implements IStorage { // If we exceed the cache size, than that means this items is added if (i >= cache.size()) { - if (actual != null) { + if (!actual.isEmpty()) { network.getItemStorageCache().add(actual, actual.getCount(), false); }