mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-03 02:33:43 +01:00 
			
		
		
		
	Merge remote-tracking branch 'origin/breaking' into breaking
This commit is contained in:
		@@ -26,14 +26,14 @@ task createPom {
 | 
			
		||||
        pom {
 | 
			
		||||
            project {
 | 
			
		||||
                groupId 'com.github.intellectualsites.plotsquared'
 | 
			
		||||
                artifactId 'Plotsquared'
 | 
			
		||||
                artifactId 'Plotsquared-Api'
 | 
			
		||||
                version project.parent.version
 | 
			
		||||
            }
 | 
			
		||||
        }.writeTo("../mvn/com/github/intellectualsites/plotsquared/Plotsquared-Api/${project.parent.version}/Plotsquared-Api-${project.parent.version}.pom")
 | 
			
		||||
        pom {
 | 
			
		||||
            project {
 | 
			
		||||
                groupId 'com.github.intellectualsites.plotsquared'
 | 
			
		||||
                artifactId 'Plotsquared'
 | 
			
		||||
                artifactId 'Plotsquared-Api'
 | 
			
		||||
                version 'latest'
 | 
			
		||||
            }
 | 
			
		||||
        }.writeTo("../mvn/com/github/intellectualsites/plotsquared/Plotsquared-Api/latest/Plotsquared-Api-latest.pom")
 | 
			
		||||
 
 | 
			
		||||
@@ -224,6 +224,7 @@ public class Settings extends Config {
 | 
			
		||||
 | 
			
		||||
    @Comment("General settings") public static final class General {
 | 
			
		||||
        @Comment("Display scientific numbers (4.2E8)") public static boolean SCIENTIFIC = false;
 | 
			
		||||
        @Comment("Replace wall when merging") public static boolean MERGE_REPLACE_WALL = true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,6 @@
 | 
			
		||||
package com.github.intellectualsites.plotsquared.plot.generator;
 | 
			
		||||
 | 
			
		||||
import com.github.intellectualsites.plotsquared.plot.config.Settings;
 | 
			
		||||
import com.github.intellectualsites.plotsquared.plot.object.*;
 | 
			
		||||
import com.github.intellectualsites.plotsquared.plot.util.MathMan;
 | 
			
		||||
import com.github.intellectualsites.plotsquared.plot.util.block.GlobalBlockQueue;
 | 
			
		||||
@@ -433,6 +434,10 @@ public class ClassicPlotManager extends SquarePlotManager {
 | 
			
		||||
    @Override public boolean finishPlotMerge(PlotArea plotArea, List<PlotId> plotIds) {
 | 
			
		||||
        final BlockBucket block = ((ClassicPlotWorld) plotArea).CLAIMED_WALL_BLOCK;
 | 
			
		||||
        plotIds.forEach(id -> setWall(plotArea, id, block));
 | 
			
		||||
        if (Settings.General.MERGE_REPLACE_WALL) {
 | 
			
		||||
            final BlockBucket wallBlock = ((ClassicPlotWorld) plotArea).WALL_FILLING;
 | 
			
		||||
            plotIds.forEach(id -> setWallFilling(plotArea, id, wallBlock));
 | 
			
		||||
        }
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user