mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-17 18:47:40 +01:00
Removed @Override from the cancellable methods
By: durron597 <martin.jared@gmail.com>
This commit is contained in:
parent
fef6ae3d7f
commit
7bdc168131
2 changed files with 0 additions and 4 deletions
paper-api/src/main/java/org/bukkit/event/block
|
@ -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…
Add table
Reference in a new issue