mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-26 19:18:29 +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
|
||||
{
|
||||
if (bed != null)
|
||||
if (bed != null && user.isAuthorized("essentials.home.bed"))
|
||||
{
|
||||
homes.add("bed");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user