geforkt von Mirrors/Paper
Added RemoteServerCommandEvent.
By: Erik Broes <erikbroes@grum.nl>
Dieser Commit ist enthalten in:
Ursprung
f7d527adf9
Commit
fe4de0bb01
@ -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;
|
||||
}
|
||||
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren