fix: handle negative perms with perm restricted warps, close #779

This commit is contained in:
William278 committed 2025-02-18 21:15:22 +00:00
1 parent 72f7b390a1
commit 412e25a1d7
6 files changed
+31 -15

No files matched your search

@@ -80,12 +80,16 @@ public class BukkitUser extends OnlineUser {
return bukkitPlayer.getHealth();
}
@Override
public boolean isPermissionSet(@NotNull String node) {
return bukkitPlayer.isPermissionSet(node);
}
@Override
public boolean hasPermission(@NotNull String node) {
return bukkitPlayer.hasPermission(node);
}
@Override
@NotNull
public Map<String, Boolean> getPermissions() {