Begin rework of Cache

This commit is contained in:
Xephi
2014-08-20 06:05:35 +02:00
parent 4193806c82
commit e9032d1739
9 changed files with 44 additions and 28 deletions
@@ -23,9 +23,9 @@ public class StoreInventoryEvent extends CustomEvent {
public StoreInventoryEvent(Player player, FileCache fileCache) {
this.player = player;
this.inventory = fileCache.readCache(player.getName().toLowerCase())
this.inventory = fileCache.readCache(player)
.getInventory();
this.armor = fileCache.readCache(player.getName().toLowerCase())
this.armor = fileCache.readCache(player)
.getArmour();
}