Removed @Override from the cancellable methods
This commit is contained in:
parent
c0ebff830e
commit
a117df5dbb
@ -38,12 +38,10 @@ public class BlockFromToEvent extends BlockEvent implements Cancellable {
|
||||
return from;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
return cancel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean cancel) {
|
||||
this.cancel = cancel;
|
||||
}
|
||||
|
@ -18,13 +18,11 @@ public class BlockPlacedEvent extends BlockEvent implements Cancellable {
|
||||
cancel = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCancelled() {
|
||||
// TODO Auto-generated method stub
|
||||
return cancel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCancelled(boolean cancel) {
|
||||
this.cancel = cancel;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user