Added TBMCYEEHAWEvent

This commit is contained in:
Norbi Peti 2016-12-07 21:15:23 +01:00
parent 381739456c
commit 89c707332f

View 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;
}
}