Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package org.bukkit.event;
2
3public interface Cancellable {
4 /**
5 * Gets the cancellation state of this event. A cancelled event will not
6 * be executed in the server, but will still pass to other plugins
7 *
8 * @return true if this event is cancelled
9 */
10 public boolean isCancelled();
11
12 /**
13 * Sets the cancellation state of this event. A cancelled event will not
14 * be executed in the server, but will still pass to other plugins.
15 *
16 * @param cancel true if you wish to cancel this event
17 */
18 public void setCancelled(boolean cancel);
19}