mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-27 07:52:06 +00:00
[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:
parent
db191e3115
commit
2b915e72fa
2 changed files with 45 additions and 8 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue