mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Tweak
This commit is contained in:
		@@ -93,6 +93,16 @@ public class PlotHandler {
 | 
			
		||||
                return true;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        return PlotHandler.isOwner(plot, uuid);
 | 
			
		||||
        if (plot.isMerged()) {
 | 
			
		||||
            Plot top = MainUtil.getTopPlot(plot);
 | 
			
		||||
            ArrayList<PlotId> ids = MainUtil.getPlotSelectionIds(plot.id, top.id);
 | 
			
		||||
            for (PlotId id : ids) {
 | 
			
		||||
                UUID owner = MainUtil.getPlot(plot.world, id).owner;
 | 
			
		||||
                if (owner != null && owner.equals(uuid)) {
 | 
			
		||||
                    return true;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user