SubServers-2/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Event/SubAddProxyEvent.java
ME1312 3e074e365d
Update GalaxiEngine
The changes this time are to some of GalaxiEngine's core utilities... which means it took a lot of work this time.
2021-10-24 00:14:07 -04:00

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; }
}