diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandhome.java b/Essentials/src/com/earth2me/essentials/commands/Commandhome.java index 0dc92d25a..004cc8e09 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandhome.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandhome.java @@ -16,6 +16,11 @@ public class Commandhome extends EssentialsCommand { user.canAfford(this); user.teleportCooldown(); + if(args.length > 1 && user.isAuthorized("essentials.home.others")) + { + user.teleportToHome(args[0]); + return; + } user.teleportToHome(this.getName()); } } diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index 9f75ec131..c8c16a949 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -92,7 +92,7 @@ commands: usage: / [message] home: description: Teleport to your home. - usage: / + usage: / info: description: Shows information set by the server owner usage: / [chapter] [page]