diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-01-30 21:52:41 +0100 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-18 12:53:30 -0500 |
commit | 54004d7d4721a8234127967783c78fb73f991494 (patch) | |
tree | 5a865ce0e38bec0884d1f690621dd13542a13f51 /src/main/java | |
parent | 6db5595df7e9abc7caf79a3c6254cda22bd3ac20 (diff) | |
download | bukkit-54004d7d4721a8234127967783c78fb73f991494.tar bukkit-54004d7d4721a8234127967783c78fb73f991494.tar.gz bukkit-54004d7d4721a8234127967783c78fb73f991494.tar.lz bukkit-54004d7d4721a8234127967783c78fb73f991494.tar.xz bukkit-54004d7d4721a8234127967783c78fb73f991494.zip |
Added RemoteServerCommandEvent.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/event/server/RemoteServerCommandEvent.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/server/RemoteServerCommandEvent.java b/src/main/java/org/bukkit/event/server/RemoteServerCommandEvent.java new file mode 100644 index 00000000..1d0a1008 --- /dev/null +++ b/src/main/java/org/bukkit/event/server/RemoteServerCommandEvent.java @@ -0,0 +1,25 @@ +package org.bukkit.event.server; + +import org.bukkit.command.CommandSender; +import org.bukkit.event.HandlerList; + +/** + * Remote Server Command events + */ +@SuppressWarnings("serial") +public class RemoteServerCommandEvent extends ServerCommandEvent { + private static final HandlerList handlers = new HandlerList(); + + public RemoteServerCommandEvent(final CommandSender sender, final String command) { + super(sender, command); + } + + @Override + public HandlerList getHandlers() { + return handlers; + } + + public static HandlerList getHandlerList() { + return handlers; + } +} |