mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
Allow owners and helpers to use WorldEdit //up in their plots
This commit is contained in:
parent
c44bf77f32
commit
cb68c415ba
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ public class WEListener implements Listener {
|
|||
}
|
||||
if (this.restrictedcmds.contains(cmd)) {
|
||||
final Plot plot = MainUtil.getPlot(pp.getLocation());
|
||||
if ((plot == null) || !(plot.helpers.contains(DBFunc.everyone) || plot.helpers.contains(pp.getUUID()))) {
|
||||
if ((plot == null) || (!plot.isOwner(pp.getUUID()) && !plot.helpers.contains(DBFunc.everyone) && !plot.helpers.contains(pp.getUUID()))) {
|
||||
e.setCancelled(true);
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue