Extra perm check in /home

This commit is contained in:
KHobbits 2012-11-08 11:53:26 +00:00
parent 6c1da1d552
commit 8c9b755671

View File

@ -83,7 +83,7 @@ public class Commandhome extends EssentialsCommand
}
else
{
if (bed != null)
if (bed != null && user.isAuthorized("essentials.home.bed"))
{
homes.add("bed");
}