mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Made things cleaner
This commit is contained in:
@ -26,7 +26,7 @@ public class MmoupdateCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
sender.sendMessage(ChatColor.GRAY + "Starting conversion..."); //TODO: Needs more locale.
|
||||
Users.clearUsers();
|
||||
Users.clearAll();
|
||||
convertToMySQL();
|
||||
|
||||
for (Player x : plugin.getServer().getOnlinePlayers()) {
|
||||
|
@ -102,7 +102,7 @@ public class McremoveCommand implements CommandExecutor {
|
||||
PlayerProfile playerProfile = Users.getProfile(player);
|
||||
|
||||
if (playerProfile != null) {
|
||||
Users.getProfiles().remove(playerProfile);
|
||||
Users.remove(player.getName());
|
||||
|
||||
if (player.isOnline()) {
|
||||
Users.addUser((Player) player);
|
||||
|
Reference in New Issue
Block a user