public final class Parties extends Object
Modifier and Type | Method and Description |
---|---|
static PartiesAPI |
getApi()
Get the
PartiesAPI instance |
static boolean |
isFlagHook()
Flag to know if Parties has been hooked
|
static void |
setApi(PartiesAPI instance)
Set the Parties API instance.
|
public static PartiesAPI getApi() throws IllegalStateException
PartiesAPI
instancePartiesAPI
interfaceIllegalStateException
- if PartiesAPI has not been initialized, in other words,
PartiesAPI has not been loadedpublic static void setApi(PartiesAPI instance)
instance
- the PartiesAPI instance.public static boolean isFlagHook()
Copyright © 2023. All rights reserved.