mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	*
This commit is contained in:
		@@ -491,7 +491,7 @@ public class MainListener {
 | 
			
		||||
                }
 | 
			
		||||
                return true;
 | 
			
		||||
            }
 | 
			
		||||
            if (!plot1.isAdded(pp.getUUID()) || !Permissions.hasPermission(pp, C.PERMISSION_ADMIN_DESTROY_OTHER, true)) {
 | 
			
		||||
            if (!plot1.isAdded(pp.getUUID()) && !Permissions.hasPermission(pp, C.PERMISSION_ADMIN_DESTROY_OTHER, true)) {
 | 
			
		||||
                com.google.common.base.Optional<HashSet<PlotBlock>> destroy = plot1.getFlag(Flags.BREAK);
 | 
			
		||||
                BlockState state = l.getBlock();
 | 
			
		||||
                if (destroy.isPresent() && destroy.get().contains(SpongeUtil.getPlotBlock(state))) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user