diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandsethome.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java index e9907b515..0f0fee9ee 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java @@ -37,14 +37,14 @@ public class Commandsethome extends EssentialsCommand } else { + name = args[1].toLowerCase(Locale.ENGLISH); if (user.isAuthorized("essentials.sethome.others")) { usersHome = ess.getUser(args[0]); if (usersHome == null) { throw new PlayerNotFoundException(); - } - name = args[1].toLowerCase(Locale.ENGLISH); + } } } } |