summaryrefslogtreecommitdiffstats
path: root/Essentials/src/net/ess3/commands/Commandsethome.java
diff options
context:
space:
mode:
authorIaccidentally <coryhuckaby@gmail.com>2012-07-17 15:42:15 -0400
committerIaccidentally <coryhuckaby@gmail.com>2012-07-17 15:42:15 -0400
commitab9545624c351f3518e6d1863ff24020b6bed605 (patch)
tree039826e04059af4142552a3e42053f62db72cae6 /Essentials/src/net/ess3/commands/Commandsethome.java
parent90ba0c91ca07973ffc560f98f3f3e31708da753e (diff)
downloadEssentials-ab9545624c351f3518e6d1863ff24020b6bed605.tar
Essentials-ab9545624c351f3518e6d1863ff24020b6bed605.tar.gz
Essentials-ab9545624c351f3518e6d1863ff24020b6bed605.tar.lz
Essentials-ab9545624c351f3518e6d1863ff24020b6bed605.tar.xz
Essentials-ab9545624c351f3518e6d1863ff24020b6bed605.zip
more replacing. fix getUser();
Diffstat (limited to 'Essentials/src/net/ess3/commands/Commandsethome.java')
-rw-r--r--Essentials/src/net/ess3/commands/Commandsethome.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/net/ess3/commands/Commandsethome.java b/Essentials/src/net/ess3/commands/Commandsethome.java
index 00e3a0170..c01519c14 100644
--- a/Essentials/src/net/ess3/commands/Commandsethome.java
+++ b/Essentials/src/net/ess3/commands/Commandsethome.java
@@ -56,7 +56,7 @@ public class Commandsethome extends EssentialsCommand
if (Permissions.SETHOME_OTHERS.isAuthorized(user))
{
@Cleanup
- IUser usersHome = ess.getUser(ess.getServer().getPlayer(args[0]));
+ IUser usersHome = player.getUser(ess.getServer().getPlayer(args[0]));
if (usersHome == null)
{
throw new Exception(_("playerNotFound"));