Reformat code

This commit is contained in:
sauilitired
2018-08-10 17:01:10 +02:00
parent 02ee1e8fa1
commit 1646cd0f5a
437 changed files with 12795 additions and 14203 deletions

View File

@ -1,23 +1,22 @@
package com.plotsquared.sponge.events;
import com.intellectualcrafters.plot.object.Plot;
import com.intellectualcrafters.plot.object.PlotId;
import org.spongepowered.api.event.cause.Cause;
import org.spongepowered.api.event.impl.AbstractEvent;
import com.intellectualcrafters.plot.object.PlotId;
public class PlotDeleteEvent extends AbstractEvent {
private final Plot plot;
/**
* PlotDeleteEvent: Called when a plot is deleted
*
* @param plot The plot that was deleted
* @param plot The plot that was deleted
*/
public PlotDeleteEvent(Plot plot) {
this.plot = plot;
}
/**
* Get the PlotId
*
@ -26,7 +25,7 @@ public class PlotDeleteEvent extends AbstractEvent {
public PlotId getPlotId() {
return plot.getId();
}
/**
* Get the world name
*
@ -35,9 +34,8 @@ public class PlotDeleteEvent extends AbstractEvent {
public String getWorld() {
return plot.getWorldName();
}
@Override
public Cause getCause() {
@Override public Cause getCause() {
return null;
}
}