Added TBMCYEEHAWEvent
This commit is contained in:
parent
381739456c
commit
89c707332f
1 changed files with 27 additions and 0 deletions
27
src/main/java/buttondevteam/lib/TBMCYEEHAWEvent.java
Normal file
27
src/main/java/buttondevteam/lib/TBMCYEEHAWEvent.java
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
package buttondevteam.lib;
|
||||||
|
|
||||||
|
import org.bukkit.command.CommandSender;
|
||||||
|
import org.bukkit.event.Event;
|
||||||
|
import org.bukkit.event.HandlerList;
|
||||||
|
|
||||||
|
public class TBMCYEEHAWEvent extends Event {
|
||||||
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
private CommandSender sender;
|
||||||
|
|
||||||
|
public TBMCYEEHAWEvent(CommandSender sender) {
|
||||||
|
this.sender = sender;
|
||||||
|
}
|
||||||
|
|
||||||
|
public CommandSender getSender() {
|
||||||
|
return sender;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public HandlerList getHandlers() {
|
||||||
|
return handlers;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static HandlerList getHandlerList() {
|
||||||
|
return handlers;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue