mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Add permission restricted warps
This commit is contained in:
1 parent
d4f4d5b0b0
commit
18673f3936
6 files changed
+49
-27
No files matched your search
@@ -24,4 +24,9 @@ public class Warp extends SavedPosition {
|
||||
public Warp(@NotNull Position position, @NotNull PositionMeta meta) {
|
||||
super(position, meta);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getPermissionNode() {
|
||||
return "huskhomes.warp." + meta.name.toLowerCase();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user