Fix an issue with explicit permissions not working
This commit is contained in:
parent
17f6b62fd6
commit
f87a756aa0
@ -382,7 +382,7 @@ public class DisguisePermissions {
|
||||
storage.negatedOptions.add("setinvisible");
|
||||
}
|
||||
|
||||
if (sender instanceof Player && !sender.isOp()) {
|
||||
if (sender instanceof Player && !sender.isOp() && !DisguiseConfig.isExplicitDisguisePermissions()) {
|
||||
storage.permittedOptions.remove("setYModifier");
|
||||
storage.negatedOptions.add("setYModifier");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user