1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 19:44:15 +02:00

Extra perm check in /home

This commit is contained in:
KHobbits
2012-11-08 11:53:26 +00:00
parent 7ece478d68
commit 68f8bbdfc0

View File

@@ -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");
} }