diff options
author | KHobbits <rob@khobbits.co.uk> | 2014-05-17 02:44:37 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2014-05-17 02:47:10 +0100 |
commit | 77b06c39a3cdc841931d41f0ce5c526073bc21f8 (patch) | |
tree | 4053ca46e1844b513dce1848df5066b21f70223f /Essentials/src/com/earth2me/essentials/commands/Commandsethome.java | |
parent | 8964d38c3e1bddfa1ae9f76b889cfce37409d24b (diff) | |
download | Essentials-77b06c39a3cdc841931d41f0ce5c526073bc21f8.tar Essentials-77b06c39a3cdc841931d41f0ce5c526073bc21f8.tar.gz Essentials-77b06c39a3cdc841931d41f0ce5c526073bc21f8.tar.lz Essentials-77b06c39a3cdc841931d41f0ce5c526073bc21f8.tar.xz Essentials-77b06c39a3cdc841931d41f0ce5c526073bc21f8.zip |
Stop using old string player lookup.
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandsethome.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandsethome.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java index 15f10e786..6a432d660 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsethome.java @@ -40,7 +40,7 @@ public class Commandsethome extends EssentialsCommand name = args[1].toLowerCase(Locale.ENGLISH); if (user.isAuthorized("essentials.sethome.others")) { - usersHome = ess.getUser(args[0]); + usersHome = getPlayer(server, args[0], true, true); if (usersHome == null) { throw new PlayerNotFoundException(); |