mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Reworked a little Users.java
This commit is contained in:
@ -98,7 +98,8 @@ public class McremoveCommand implements CommandExecutor {
|
||||
//Force PlayerProfile stuff to update
|
||||
Player player = plugin.getServer().getPlayer(playerName);
|
||||
|
||||
if (player != null && Users.getProfiles().containsKey(player)) {
|
||||
//TODO fix this
|
||||
if (player != null /*&& Users.getProfiles().containsKey(player)*/) {
|
||||
Users.removeUser(player);
|
||||
Users.addUser(player);
|
||||
}
|
||||
|
Reference in New Issue
Block a user