mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Trying to fix reload more.
This commit is contained in:
parent
0f023f627c
commit
fcc36ee5d7
@ -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
|
||||||
|
@ -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() {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user