Skip to content

Commit fd189cd

Browse files
committed
Fix energy networks voiding all stored energy when breaking a cable
1 parent d103a9f commit fd189cd

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/mekanism/common/lib/distribution

1 file changed

+1
-0
lines changed

src/main/java/mekanism/common/lib/distribution/Target.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ protected Target() {
3636
protected Target(Collection<HANDLER> allHandlers) {
3737
this.handlers = Collections.unmodifiableCollection(allHandlers);
3838
this.needed = new ArrayList<>(allHandlers.size() / 2);
39+
this.handlerCount = allHandlers.size();
3940
}
4041

4142
protected Target(int expectedSize) {

0 commit comments

Comments
 (0)