Deprecation cleanup.
This commit is contained in:
@@ -14,10 +14,10 @@ public class EndermanPickupEvent extends EntityEvent implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
private boolean cancel;
|
||||
private Block block;
|
||||
private final Block block;
|
||||
|
||||
public EndermanPickupEvent(Entity what, Block block) {
|
||||
super(Type.ENDERMAN_PICKUP, what);
|
||||
public EndermanPickupEvent(final Entity what, final Block block) {
|
||||
super(what);
|
||||
this.block = block;
|
||||
this.cancel = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user