Replaced Watcher using Collection with a more fitting interface (#2693)
Replaced the watchers for energy, storage and crafting with a more fitting interface compared to a common collection. Fixes #229
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ public class GridStorageCache implements IStorageGrid
|
||||
|
||||
if( myWatcher != null )
|
||||
{
|
||||
myWatcher.clear();
|
||||
myWatcher.reset();
|
||||
this.watchers.remove( machine );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user