Deprecation cleanup.

This commit is contained in:
Erik Broes
2012-01-30 21:32:48 +01:00
committed by EvilSeph
parent 52822729b0
commit 7a06777e19
165 changed files with 409 additions and 4280 deletions

View File

@@ -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;
}