SubServers-2/SubServers.Bungee/src/net/ME1312/SubServers/Bungee/Event/SubRemoveProxyEvent.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
695 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 Remove Event
*/
public class SubRemoveProxyEvent extends Event implements SubEvent {
private Proxy proxy;
/**
* Proxy Remove Event
*
* @param proxy Host Being Added
*/
public SubRemoveProxyEvent(Proxy proxy) {
Util.nullpo(proxy);
this.proxy = proxy;
}
/**
* Gets the Proxy to be Removed
*
* @return The Proxy to be Removed
*/
public Proxy getProxy() { return proxy; }
}