Class PortalHelper
java.lang.Object
org.sgrewritten.stargate.util.portal.PortalHelper
A helper class for dealing with portals
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringflagsToString(Set<PortalFlag> flags) Gets the string representation of a set of portal flagsstatic booleanportalValidityCheck(RealPortal portal, NetworkManager networkManager)
-
Method Details
-
flagsToString
Gets the string representation of a set of portal flags- Parameters:
flags-The flags to convert to a string
- Returns:
A string representing the portal flags
-
portalValidityCheck
- Parameters:
portal-The portal to check for
networkManager-A stargate network manager
- Returns:
True if the portal is valid
-