diff --git a/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableProcessing.java b/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableProcessing.java index 83b3b861..8d6870ac 100644 --- a/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableProcessing.java +++ b/src/main/java/com/lothrazar/storagenetwork/capability/CapabilityConnectableProcessing.java @@ -15,8 +15,6 @@ public class CapabilityConnectableProcessing implements INBTSerializable, IConnectableItemProcessing { - public static final int DEFAULT_ITEMS_PER = 4; - public static final int IO_DEFAULT_SPEED = 30; // TODO CONFIG public static class Factory implements Callable { @@ -55,7 +53,6 @@ public CompoundTag serializeNBT() { if (inventoryFace != null) { result.putString("inventoryFace", inventoryFace.toString()); } - // result.putBoolean("needsRedstone", this.needsRedstone()); return result; } @@ -70,10 +67,13 @@ public void deserializeNBT(CompoundTag nbt) { if (filters != null) { this.filters.deserializeNBT(filters); } + CompoundTag filtersOut = nbt.getCompound("filtersOut"); + if (filtersOut != null) { + this.filtersOut.deserializeNBT(filtersOut); + } if (nbt.contains("inventoryFace")) { inventoryFace = Direction.byName(nbt.getString("inventoryFace")); } - // this.needsRedstone(nbt.getBoolean("needsRedstone")); } @Override