mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-01 21:11:44 +01:00
[trunk] args length fix
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1244 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
acbdab7b08
commit
ad873c6867
@ -16,7 +16,7 @@ public class Commandhome extends EssentialsCommand
|
||||
{
|
||||
user.canAfford(this);
|
||||
user.teleportCooldown();
|
||||
if(args.length > 1 && user.isAuthorized("essentials.home.others"))
|
||||
if(args.length > 0 && user.isAuthorized("essentials.home.others"))
|
||||
{
|
||||
user.teleportToHome(args[0]);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user