Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -44,7 +44,7 @@ public class BlockPhysicsEvent extends BlockEvent implements Cancellable {
|
||||
|
||||
/**
|
||||
* Gets the source block that triggered this event.
|
||||
*
|
||||
*
|
||||
* Note: This will default to block if not set.
|
||||
*
|
||||
* @return The source block
|
||||
|
||||
@@ -13,10 +13,10 @@ import org.jetbrains.annotations.NotNull;
|
||||
public class BlockPistonRetractEvent extends BlockPistonEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private List<Block> blocks;
|
||||
|
||||
|
||||
public BlockPistonRetractEvent(@NotNull final Block block, @NotNull final List<Block> blocks, @NotNull final BlockFace direction) {
|
||||
super(block, direction);
|
||||
|
||||
|
||||
this.blocks = blocks;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ public class BlockPistonRetractEvent extends BlockPistonEvent {
|
||||
public Location getRetractLocation() {
|
||||
return getBlock().getRelative(getDirection(), 2).getLocation();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get an immutable list of the blocks which will be moved by the
|
||||
* extending.
|
||||
|
||||
@@ -32,4 +32,4 @@ public class EntityBlockFormEvent extends BlockFormEvent {
|
||||
public Entity getEntity() {
|
||||
return entity;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user