42 lines
938 B
Java
42 lines
938 B
Java
package net.ME1312.SubServers.Client.Bukkit.Event;
|
|
|
|
import net.ME1312.Galaxi.Library.Util;
|
|
import net.ME1312.SubServers.Client.Bukkit.Library.SubEvent;
|
|
|
|
import org.bukkit.event.Event;
|
|
import org.bukkit.event.HandlerList;
|
|
|
|
/**
|
|
* Proxy Remove Event
|
|
*/
|
|
public class SubRemoveProxyEvent extends Event implements SubEvent {
|
|
private String proxy;
|
|
|
|
/**
|
|
* Proxy Remove Event
|
|
*
|
|
* @param proxy Host Being Added
|
|
*/
|
|
public SubRemoveProxyEvent(String proxy) {
|
|
super(true);
|
|
Util.nullpo(proxy);
|
|
this.proxy = proxy;
|
|
}
|
|
|
|
/**
|
|
* Gets the Proxy to be Removed
|
|
*
|
|
* @return The Proxy to be Removed
|
|
*/
|
|
public String getProxy() { return proxy; }
|
|
|
|
@Override
|
|
public HandlerList getHandlers() {
|
|
return handlers;
|
|
}
|
|
public static HandlerList getHandlerList() {
|
|
return handlers;
|
|
}
|
|
private static HandlerList handlers = new HandlerList();
|
|
}
|