public void loadOldConfig() {
LegacyStats old = new LegacyStats();
old.load();
for (String name : old.stats.keySet()) {
Statistic oldStats = old.stats.get(name);
NBTCompound tag = playerData.get(name);
NBTCompound stats = new NBTCompound(STATS);
stats.put(new NBTInt(StatField.PLAY_TIME.toString(), oldStats.minutes));
stats.put(new NBTInt(StatField.BLOCKS_DESTROYED.toString(), oldStats.blocksDestroyed));
stats.put(new NBTInt(StatField.BLOCKS_PLACED.toString(), oldStats.blocksPlaced));
tag.put(stats);
}
old.save();
}