Deprecation cleanup.
This commit is contained in:
@@ -14,12 +14,12 @@ import org.bukkit.event.HandlerList;
|
||||
*/
|
||||
public class EntityChangeBlockEvent extends EntityEvent implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private Block block;
|
||||
private final Block block;
|
||||
private boolean cancel;
|
||||
private Material to;
|
||||
private final Material to;
|
||||
|
||||
public EntityChangeBlockEvent(Entity what, Block block, Material to) {
|
||||
super(Type.ENTITY_CHANGE_BLOCK, what);
|
||||
public EntityChangeBlockEvent(final Entity what, final Block block, final Material to) {
|
||||
super(what);
|
||||
this.block = block;
|
||||
this.cancel = false;
|
||||
this.to = to;
|
||||
|
||||
Reference in New Issue
Block a user