Deprecation cleanup.
This commit is contained in:
@@ -8,10 +8,10 @@ import org.bukkit.event.Cancellable;
|
||||
@SuppressWarnings("serial")
|
||||
public abstract class BlockPistonEvent extends BlockEvent implements Cancellable {
|
||||
private boolean cancelled;
|
||||
private BlockFace direction;
|
||||
private final BlockFace direction;
|
||||
|
||||
public BlockPistonEvent(Type type, Block block, BlockFace direction) {
|
||||
super(type, block);
|
||||
public BlockPistonEvent(final Block block, final BlockFace direction) {
|
||||
super(block);
|
||||
this.direction = direction;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user