mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-13 15:16:50 +01:00
No idea
This commit is contained in:
parent
96b02b057b
commit
fd927a9b62
@ -118,7 +118,7 @@ public class DisguisePermissions {
|
|||||||
public DisguisePermissions(Permissible permissionHolder, String commandName) {
|
public DisguisePermissions(Permissible permissionHolder, String commandName) {
|
||||||
loadPermissions(permissionHolder, commandName.toLowerCase(Locale.ENGLISH));
|
loadPermissions(permissionHolder, commandName.toLowerCase(Locale.ENGLISH));
|
||||||
|
|
||||||
if (permissionHolder == Bukkit.getConsoleSender()) {
|
if (permissionHolder == Bukkit.getConsoleSender() && hasPermissions()) {
|
||||||
CONSOLE_PERMISSIONS.put(commandName, this);
|
CONSOLE_PERMISSIONS.put(commandName, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user