Deprecation cleanup.
This commit is contained in:
@@ -11,11 +11,11 @@ import org.bukkit.event.HandlerList;
|
||||
@SuppressWarnings("serial")
|
||||
public class BlockPistonExtendEvent extends BlockPistonEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private int length;
|
||||
private final int length;
|
||||
private List<Block> blocks;
|
||||
|
||||
public BlockPistonExtendEvent(Block block, int length, BlockFace direction) {
|
||||
super(Type.BLOCK_PISTON_EXTEND, block, direction);
|
||||
public BlockPistonExtendEvent(final Block block, final int length, final BlockFace direction) {
|
||||
super(block, direction);
|
||||
|
||||
this.length = length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user