massive refactor of storage

This commit is contained in:
Raoul Van den Berge
2015-12-13 21:14:54 +01:00
parent 455ec9dd47
commit 3e021cdf46
12 changed files with 268 additions and 258 deletions

View File

@@ -23,6 +23,8 @@ public class SlotDrive extends SlotItemFilter {
public void onSlotChanged() {
super.onSlotChanged();
drive.getController().getStorage().sync();
if (drive.isConnected()) {
drive.getController().storageSync();
}
}
}