mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	@@ -33,6 +33,7 @@ import com.plotsquared.core.plot.PlotArea;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.BlockBurnFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.BlockIgnitionFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.BreakFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.ConcreteHardenFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.CoralDryFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.CropGrowFlag;
 | 
			
		||||
import com.plotsquared.core.plot.flag.implementations.DisablePhysicsFlag;
 | 
			
		||||
@@ -586,6 +587,12 @@ public class BlockEventListener implements Listener {
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        if (event.getNewState().getType().toString().endsWith("CONCRETE")) {
 | 
			
		||||
            if (!plot.getFlag(ConcreteHardenFlag.class)) {
 | 
			
		||||
                plot.debug("Concrete powder could not harden because concrete-harden = false");
 | 
			
		||||
                event.setCancelled(true);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user