Don't provide direct access to the players map.

This commit is contained in:
GJ
2013-07-15 09:14:23 -04:00
parent dc9469c0cc
commit c9aba059e2
10 changed files with 18 additions and 12 deletions

View File

@ -14,7 +14,7 @@ public class SaveTimerTask extends BukkitRunnable {
// All player data will be saved periodically through this
int count = 1;
for (McMMOPlayer mcMMOPlayer : UserManager.getPlayers().values()) {
for (McMMOPlayer mcMMOPlayer : UserManager.getPlayers()) {
new PlayerProfileSaveTask(mcMMOPlayer.getProfile()).runTaskLater(mcMMO.p, count);
count++;
}