Moving to the right place
This commit is contained in:
parent
4b4820bf17
commit
38df0f7e82
@ -1,28 +0,0 @@
|
|||||||
// "API" for other plugins
|
|
||||||
|
|
||||||
package net.ardakaz.griefalert;
|
|
||||||
|
|
||||||
import org.bukkit.event.Event;
|
|
||||||
import org.bukkit.event.HandlerList;
|
|
||||||
|
|
||||||
public class GriefAlertEvent extends Event {
|
|
||||||
private static final HandlerList HANDLERS = new HandlerList();
|
|
||||||
private String alert = "";
|
|
||||||
|
|
||||||
public GriefAlertEvent(String alert) {
|
|
||||||
this.alert = alert;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HandlerList getHandlerList() {
|
|
||||||
return HANDLERS;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public HandlerList getHandlers() {
|
|
||||||
return HANDLERS;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getAlert() {
|
|
||||||
return this.alert;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user