mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Work on directions and merging
This commit is contained in:
		@@ -6,8 +6,7 @@ import lombok.Setter;
 | 
			
		||||
import org.bukkit.World;
 | 
			
		||||
import org.bukkit.event.Cancellable;
 | 
			
		||||
import org.bukkit.event.HandlerList;
 | 
			
		||||
 | 
			
		||||
import javax.annotation.Nonnull;
 | 
			
		||||
import org.jetbrains.annotations.NotNull;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Event called when several plots are merged
 | 
			
		||||
@@ -29,8 +28,8 @@ public final class PlotMergeEvent extends PlotEvent implements Cancellable {
 | 
			
		||||
     * @param dir   The direction of the merge
 | 
			
		||||
     * @param max   Max merge size
 | 
			
		||||
     */
 | 
			
		||||
    public PlotMergeEvent(@Nonnull final World world, @Nonnull final Plot plot,
 | 
			
		||||
        @Nonnull final int dir, @Nonnull final int max) {
 | 
			
		||||
    public PlotMergeEvent(@NotNull final World world, @NotNull final Plot plot,
 | 
			
		||||
        @NotNull final int dir, @NotNull final int max) {
 | 
			
		||||
        super(plot);
 | 
			
		||||
        this.world = world;
 | 
			
		||||
        this.dir = dir;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user