JavaDoc cleanup.

This commit is contained in:
EvilSeph
2011-06-22 17:05:45 -04:00
parent 7524109bf0
commit f709af58e5
12 changed files with 87 additions and 38 deletions

View File

@@ -39,10 +39,22 @@ public class BlockFromToEvent extends BlockEvent implements Cancellable {
return to;
}
/**
* Gets the cancellation state of this event. A cancelled event will not
* be executed in the server, but will still pass to other plugins
*
* @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
*
* @param cancel true if you wish to cancel this event
*/
public void setCancelled(boolean cancel) {
this.cancel = cancel;
}