Major code reformatting

This commit is contained in:
MattBDev
2016-03-22 21:41:37 -04:00
parent e18e1d4816
commit 9e2c6f2182
209 changed files with 9551 additions and 9237 deletions

View File

@ -20,25 +20,26 @@
////////////////////////////////////////////////////////////////////////////////////////////////////
package com.plotsquared.bukkit.events;
import java.util.ArrayList;
import com.intellectualcrafters.plot.object.Plot;
import com.intellectualcrafters.plot.object.PlotId;
import org.bukkit.World;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import com.intellectualcrafters.plot.object.Plot;
import com.intellectualcrafters.plot.object.PlotId;
import java.util.ArrayList;
/**
/**
*/
public class PlotMergeEvent extends Event implements Cancellable {
public class PlotMergeEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList();
private final ArrayList<PlotId> plots;
private boolean cancelled;
private Plot plot;
private World world;
private World world;
/**
* PlotMergeEvent: Called when plots are merged
*
@ -46,48 +47,48 @@ public class PlotMergeEvent extends Event implements Cancellable {
* @param plot Plot that was merged
* @param plots A list of plots involved in the event
*/
*/
public PlotMergeEvent(World world, Plot plot, ArrayList<PlotId> plots) {
this.plots = plots;
}
}
public static HandlerList getHandlerList() {
return handlers;
}
}
/**
* Get the plots being added;
*
* @return Plot
*/
public ArrayList<PlotId> getPlots() {
public ArrayList<PlotId> getPlots() {
return this.plots;
}
}
/**
* Get the main plot
*
* @return Plot
*/
public Plot getPlot() {
public Plot getPlot() {
return this.plot;
}
}
public World getWorld() {
public World getWorld() {
return this.world;
}
}
@Override
public HandlerList getHandlers() {
return handlers;
}
}
@Override
public boolean isCancelled() {
public boolean isCancelled() {
return this.cancelled;
}
}
@Override
@Override
public void setCancelled(final boolean b) {
public void setCancelled(boolean b) {
this.cancelled = b;
}
}