Add MCoreCancellableEvent

This commit is contained in:
Olof Larsson 2013-04-10 09:04:20 +02:00
parent e00cd2afc8
commit 9a6cae780d

View File

@ -0,0 +1,15 @@
package com.massivecraft.mcore.event;
import org.bukkit.event.Cancellable;
public abstract class MCoreCancellableEvent extends MCoreEvent implements Cancellable
{
// -------------------------------------------- //
// FIELDS
// -------------------------------------------- //
private boolean cancelled = false;
@Override public boolean isCancelled() { return this.cancelled; }
@Override public void setCancelled(boolean cancelled) { this.cancelled = cancelled; }
}