Warp permission node fix

Fixed:
- restricted warps are not tab completed
- player may not teleport to restricted warps due to lack of permission
This commit is contained in:
Jannik committed 2022-11-30 14:23:20 +01:00
1 parent 741a4c69fd
commit 1714380ee2
1 file changed
+1 -1
@@ -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.toLowerCase();
return Permission.COMMAND_WARP.node + "." + warp.toLowerCase();
}
/**