Deprecation cleanup.
This commit is contained in:
@@ -20,10 +20,10 @@ import org.bukkit.event.HandlerList;
|
||||
public class BlockFadeEvent extends BlockEvent implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private boolean cancelled;
|
||||
private BlockState newState;
|
||||
private final BlockState newState;
|
||||
|
||||
public BlockFadeEvent(Block block, BlockState newState) {
|
||||
super(Type.BLOCK_FADE, block);
|
||||
public BlockFadeEvent(final Block block, final BlockState newState) {
|
||||
super(block);
|
||||
this.newState = newState;
|
||||
this.cancelled = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user