fix some todos

This commit is contained in:
Raoul Van den Berge
2015-12-13 20:13:36 +01:00
parent 7f594b5e36
commit 129e5a5428
8 changed files with 121 additions and 69 deletions

View File

@@ -24,6 +24,7 @@ public class Storage {
public void sync() {
items.clear();
// @TODO: merge stored items with others..
for (ItemStack cell : provider.getStorageCells()) {
items.addAll(ItemStorageCell.getStoredItems(cell));
}
@@ -44,7 +45,7 @@ public class Storage {
return false;
}
ItemStorageCell.store(cellWithSpace, stack);
ItemStorageCell.push(cellWithSpace, stack);
sync();