[trunk] fix /home playername. Look out for any case sesitive weirdness

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1288 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-04-28 22:52:08 +00:00
parent db191e3115
commit 2b915e72fa
2 changed files with 45 additions and 8 deletions

View file

@ -18,7 +18,7 @@ public class Commandhome extends EssentialsCommand
user.teleportCooldown();
if(args.length > 0 && user.isAuthorized("essentials.home.others"))
{
user.teleportToHome(args[0]);
user.teleportToHome(this.getName(), args[0]);
return;
}
user.teleportToHome(this.getName());