Remove superfluous javadocs
This commit is contained in:
@@ -60,26 +60,10 @@ public class BlockDamageEvent extends BlockEvent implements Cancellable {
|
||||
return itemstack;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the cancellation state of this event. A cancelled event will not
|
||||
* be executed in the server, but will still pass to other plugins.
|
||||
*<p />
|
||||
* If a Block Damage event is cancelled, the block will not be damaged.
|
||||
*
|
||||
* @return true if this event is cancelled
|
||||
*/
|
||||
public boolean isCancelled() {
|
||||
return cancel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the cancellation state of this event. A cancelled event will not
|
||||
* be executed in the server, but will still pass to other plugins.
|
||||
*<p />
|
||||
* If a Block Damage event is cancelled, the block will not be damaged.
|
||||
*
|
||||
* @param cancel true if you wish to cancel this event
|
||||
*/
|
||||
public void setCancelled(boolean cancel) {
|
||||
this.cancel = cancel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user