mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-09-27 13:02:35 +02:00
3e074e365d
The changes this time are to some of GalaxiEngine's core utilities... which means it took a lot of work this time.
32 lines
679 B
Java
32 lines
679 B
Java
package net.ME1312.SubServers.Bungee.Event;
|
|
|
|
import net.ME1312.Galaxi.Library.Util;
|
|
import net.ME1312.SubServers.Bungee.Host.Proxy;
|
|
import net.ME1312.SubServers.Bungee.Library.SubEvent;
|
|
|
|
import net.md_5.bungee.api.plugin.Event;
|
|
|
|
/**
|
|
* Proxy Add Event
|
|
*/
|
|
public class SubAddProxyEvent extends Event implements SubEvent {
|
|
private Proxy proxy;
|
|
|
|
/**
|
|
* Proxy Add Event
|
|
*
|
|
* @param proxy Host Being Added
|
|
*/
|
|
public SubAddProxyEvent(Proxy proxy) {
|
|
Util.nullpo(proxy);
|
|
this.proxy = proxy;
|
|
}
|
|
|
|
/**
|
|
* Gets the Proxy to be Added
|
|
*
|
|
* @return The Proxy to be Added
|
|
*/
|
|
public Proxy getProxy() { return proxy; }
|
|
}
|