From ca6bee07eac6a7660c4e4352fd07ee1896282f97 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Thu, 22 Aug 2013 00:37:48 +0200 Subject: [PATCH] Fix formatting --- .../com/gmail/nossr50/util/player/UserManager.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/player/UserManager.java b/src/main/java/com/gmail/nossr50/util/player/UserManager.java index 532010d23..6ab0e940e 100644 --- a/src/main/java/com/gmail/nossr50/util/player/UserManager.java +++ b/src/main/java/com/gmail/nossr50/util/player/UserManager.java @@ -14,7 +14,7 @@ import com.gmail.nossr50.datatypes.player.McMMOPlayer; public final class UserManager { private final static Map players = new HashMap(); - private UserManager() {}; + private UserManager() {} /** * Add a new user. @@ -91,9 +91,9 @@ 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) { McMMOPlayer mcMMOPlayer = players.get(playerName); @@ -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; }