mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Added RemoteServerCommandEvent.
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
f7d527adf9
commit
fe4de0bb01
1 changed files with 25 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue