mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Allow owners and helpers to use WorldEdit //up in their plots
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user