Trying to fix reload more.

This commit is contained in:
GJ 2013-04-02 11:17:40 -04:00
parent 0f023f627c
commit fcc36ee5d7
2 changed files with 1 additions and 2 deletions

View File

@ -167,7 +167,6 @@ public class mcMMO extends JavaPlugin {
try { try {
reloadDisableHelper(); // Prevent Berserk from getting "stuck" reloadDisableHelper(); // Prevent Berserk from getting "stuck"
UserManager.saveAll(); // Make sure to save player information if the server shuts down UserManager.saveAll(); // Make sure to save player information if the server shuts down
UserManager.clearAll(); // Should always clear after saving
PartyManager.saveParties(); // Save our parties PartyManager.saveParties(); // Save our parties
placeStore.saveAll(); // Save our metadata placeStore.saveAll(); // Save our metadata
placeStore.cleanUp(); // Cleanup empty metadata stores placeStore.cleanUp(); // Cleanup empty metadata stores

View File

@ -13,7 +13,7 @@ import com.gmail.nossr50.mcMMO;
import com.gmail.nossr50.datatypes.player.McMMOPlayer; import com.gmail.nossr50.datatypes.player.McMMOPlayer;
public final class UserManager { public final class UserManager {
private static Map<String, McMMOPlayer> players = new HashMap<String, McMMOPlayer>(); private final static Map<String, McMMOPlayer> players = new HashMap<String, McMMOPlayer>();
private UserManager() {}; private UserManager() {};