Separate toggle for world teleports using homes.

This commit is contained in:
KHobbits 2012-05-22 17:54:19 +01:00
parent fa58503c9f
commit 74f0babc7d
4 changed files with 15 additions and 2 deletions

View file

@ -101,7 +101,7 @@ public class Commandhome extends EssentialsCommand
{
throw new NotEnoughArgumentsException();
}
if (user.getWorld() != loc.getWorld() && ess.getSettings().isWorldTeleportPermissions()
if (user.getWorld() != loc.getWorld() && ess.getSettings().isWorldHomePermissions()
&& !user.isAuthorized("essentials.world." + loc.getWorld().getName()))
{
throw new Exception(_("noPerm", "essentials.world." + loc.getWorld().getName()));