From 89c707332f793b3484955997b61bedb9092bc055 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Wed, 7 Dec 2016 21:15:23 +0100 Subject: [PATCH] Added TBMCYEEHAWEvent --- .../buttondevteam/lib/TBMCYEEHAWEvent.java | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/main/java/buttondevteam/lib/TBMCYEEHAWEvent.java diff --git a/src/main/java/buttondevteam/lib/TBMCYEEHAWEvent.java b/src/main/java/buttondevteam/lib/TBMCYEEHAWEvent.java new file mode 100644 index 0000000..edf3f56 --- /dev/null +++ b/src/main/java/buttondevteam/lib/TBMCYEEHAWEvent.java @@ -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; + } +}