From 5c5f43a5a974e903583480190a46c889050a32cb Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Fri, 12 Sep 2014 16:29:52 -0500 Subject: [PATCH] Fix networks not posting updates to level emitters and storage monitors. --- me/cache/NetworkMonitor.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/me/cache/NetworkMonitor.java b/me/cache/NetworkMonitor.java index ceb14a99..a074fa42 100644 --- a/me/cache/NetworkMonitor.java +++ b/me/cache/NetworkMonitor.java @@ -47,7 +47,13 @@ public class NetworkMonitor> extends MEMonitorHandler } final static public LinkedList depth = new LinkedList(); - + + @Override + protected void postChangesToListeners(Iterable changes, BaseActionSource src) + { + postChange( true, changes, src ); + } + protected void postChange(boolean Add, Iterable changes, BaseActionSource src) { if ( depth.contains( this ) ) @@ -56,7 +62,7 @@ public class NetworkMonitor> extends MEMonitorHandler depth.push( this ); sendEvent = true; - postChangeToListeners( changes, src ); + notifyListenersOfChange( changes, src ); IItemList myStorageList = getStorageList();