mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-17 21:14:41 +02:00
Major cleanup
This commit is contained in:
@ -12,9 +12,11 @@ import com.gmail.nossr50.mcMMO;
|
||||
import com.gmail.nossr50.datatypes.McMMOPlayer;
|
||||
import com.gmail.nossr50.datatypes.PlayerProfile;
|
||||
|
||||
public class Users {
|
||||
public final class Users {
|
||||
private static Map<String, McMMOPlayer> players = new HashMap<String, McMMOPlayer>();
|
||||
|
||||
private Users() {};
|
||||
|
||||
/**
|
||||
* Load users.
|
||||
*/
|
||||
@ -22,7 +24,7 @@ public class Users {
|
||||
new File(mcMMO.getFlatFileDirectory()).mkdir();
|
||||
|
||||
try {
|
||||
new File(mcMMO.getUsersFile()).createNewFile();
|
||||
new File(mcMMO.getUsersFilePath()).createNewFile();
|
||||
}
|
||||
catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
|
Reference in New Issue
Block a user