mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-14 12:11:25 +01:00
Extra perm check in /home
This commit is contained in:
parent
6c1da1d552
commit
8c9b755671
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user