Adds comments and simplifies some of the code
Adds a PortalOption enum to simplify portal options Adds a BungeeHelper class to collect the bungee-related code
This commit is contained in:
@ -15,7 +15,8 @@ public abstract class StargateEvent extends Event implements Cancellable {
|
||||
|
||||
/**
|
||||
* Instantiates a new stargate event
|
||||
* @param event <p>UNUSED</p>
|
||||
*
|
||||
* @param event <p>UNUSED</p>
|
||||
* @param portal <p>The portal involved in this stargate event</p>
|
||||
*/
|
||||
StargateEvent(String event, Portal portal) {
|
||||
@ -25,6 +26,7 @@ public abstract class StargateEvent extends Event implements Cancellable {
|
||||
|
||||
/**
|
||||
* Gets the portal involved in this stargate event
|
||||
*
|
||||
* @return <p>The portal involved in this stargate event</p>
|
||||
*/
|
||||
public Portal getPortal() {
|
||||
|
Reference in New Issue
Block a user