mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 14:38:53 +00:00
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:
1 parent
741a4c69fd
commit
1714380ee2
1 file changed
+1
-1
@@ -37,7 +37,7 @@ public class Warp extends SavedPosition {
|
|||||||
@NotNull
|
@NotNull
|
||||||
@Subst("huskhomes.command.warp")
|
@Subst("huskhomes.command.warp")
|
||||||
public static String getPermissionNode(@NotNull String warp) {
|
public static String getPermissionNode(@NotNull String warp) {
|
||||||
return Permission.COMMAND_WARP + "." + warp.toLowerCase();
|
return Permission.COMMAND_WARP.node + "." + warp.toLowerCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user