mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Fix warp permission nodes not enforcing lower case
This commit is contained in:
1 parent
7c01b434e6
commit
741a4c69fd
2 files changed
+4
-3
No files matched your search
@@ -37,7 +37,7 @@ public class Warp extends SavedPosition {
|
||||
@NotNull
|
||||
@Subst("huskhomes.command.warp")
|
||||
public static String getPermissionNode(@NotNull String warp) {
|
||||
return Permission.COMMAND_WARP + "." + warp;
|
||||
return Permission.COMMAND_WARP + "." + warp.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user