mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-08 05:23:01 +00:00
Permissions overhaul
This commit is contained in:
parent
f119f6996d
commit
f2b5f1d224
24 changed files with 114 additions and 103 deletions
|
@ -86,7 +86,7 @@ public class Merge extends SubCommand {
|
|||
PlayerFunctions.sendMessage(plr, C.PLOT_UNOWNED);
|
||||
return false;
|
||||
}
|
||||
boolean admin = PlotMain.hasPermission(plr, "plots.admin");
|
||||
boolean admin = PlotMain.hasPermission(plr, "plots.admin.command.merge");
|
||||
if (!plot.getOwner().equals(UUIDHandler.getUUID(plr)) && !admin) {
|
||||
PlayerFunctions.sendMessage(plr, C.NO_PLOT_PERMS);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue