1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-18 09:43:00 +01:00

Use profile instead of mcMMOPlayer

This commit is contained in:
GJ
2013-07-11 13:19:04 -04:00
parent 6fe1c85592
commit 621969459a
2 changed files with 3 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ public class SaveTimerTask extends BukkitRunnable {
int count = 1;
for (McMMOPlayer mcMMOPlayer : UserManager.getPlayers().values()) {
new PlayerProfileSaveTask(mcMMOPlayer).runTaskLater(mcMMO.p, count);
new PlayerProfileSaveTask(mcMMOPlayer.getProfile()).runTaskLater(mcMMO.p, count);
count++;
}