mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +00:00
Essentials.sethome.others doesn't imply essentials.sethome.multiple.
Restore essentials.home.others permission check.
This commit is contained in:
parent
6946488e0d
commit
8cc249c2d3
2 changed files with 16 additions and 4 deletions
|
@ -25,7 +25,7 @@ public class Commandhome extends EssentialsCommand
|
|||
if (args.length > 0)
|
||||
{
|
||||
nameParts = args[0].split(":");
|
||||
if (nameParts[0].length() == args[0].length())
|
||||
if (nameParts[0].length() == args[0].length() || !user.isAuthorized("essentials.home.others"))
|
||||
{
|
||||
homeName = nameParts[0];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue