mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fix formatting
This commit is contained in:
parent
9acaa7b126
commit
ca6bee07ea
@ -14,7 +14,7 @@ import com.gmail.nossr50.datatypes.player.McMMOPlayer;
|
||||
public final class UserManager {
|
||||
private final static Map<String, McMMOPlayer> players = new HashMap<String, McMMOPlayer>();
|
||||
|
||||
private UserManager() {};
|
||||
private UserManager() {}
|
||||
|
||||
/**
|
||||
* Add a new user.
|
||||
@ -91,7 +91,7 @@ public final class UserManager {
|
||||
}
|
||||
|
||||
public static McMMOPlayer getPlayer(String playerName, boolean offlineValid) {
|
||||
return retrieveMcMMOPlayer(playerName, offlineValid);
|
||||
return retrieveMcMMOPlayer(playerName, offlineValid);
|
||||
}
|
||||
|
||||
private static McMMOPlayer retrieveMcMMOPlayer(String playerName, boolean offlineValid) {
|
||||
@ -101,9 +101,9 @@ public final class UserManager {
|
||||
Player player = mcMMO.p.getServer().getPlayerExact(playerName);
|
||||
|
||||
if (player == null) {
|
||||
if (!offlineValid) {
|
||||
if (!offlineValid) {
|
||||
mcMMO.p.getLogger().warning("A valid mcMMOPlayer object could not be found for " + playerName + ".");
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user