mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Ops now have all permissions.
This commit is contained in:
parent
1568c3f890
commit
b925855d77
@ -152,7 +152,7 @@ public class WorldEditPlugin extends JavaPlugin {
|
||||
}
|
||||
|
||||
boolean hasPermission(Player player, String perm) {
|
||||
return perms.hasPermission(player.getName(), perm);
|
||||
return player.isOp() || perms.hasPermission(player.getName(), perm);
|
||||
}
|
||||
|
||||
public WorldEditAPI getAPI() {
|
||||
|
Loading…
Reference in New Issue
Block a user