mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 17:15:07 +02:00
Extra perm check in /home
This commit is contained in:
@@ -83,7 +83,7 @@ public class Commandhome extends EssentialsCommand
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (bed != null)
|
if (bed != null && user.isAuthorized("essentials.home.bed"))
|
||||||
{
|
{
|
||||||
homes.add("bed");
|
homes.add("bed");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user