Package dev.aura.bungeechat.api.utils
Class BungeeChatInstanceHolder
- java.lang.Object
-
- dev.aura.bungeechat.api.utils.BungeeChatInstanceHolder
-
public final class BungeeChatInstanceHolder extends Object
This class is used to set the instance returned byBungeeChatApi.getInstance()
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BungeeChatApi
getInstance()
The actual BungeeChatApi instance.
You shouldn't be using this if you are using the API!static void
setInstance(BungeeChatApi instance)
The actual BungeeChatApi instance.
You shouldn't be using this if you are using the API!
-
-
-
Method Detail
-
getInstance
public static BungeeChatApi getInstance()
The actual BungeeChatApi instance.
You shouldn't be using this if you are using the API!-- SETTER -- Sets the BungeeChatApi instance. Don't use it!
-- GETTER -- Returns the BungeeChatApi instance. Don't use this though. Use
BungeeChatApi.getInstance()
instead!- Returns:
- BungeeChatApi instance
-
setInstance
public static void setInstance(BungeeChatApi instance)
The actual BungeeChatApi instance.
You shouldn't be using this if you are using the API!-- SETTER -- Sets the BungeeChatApi instance. Don't use it!
- Parameters:
instance
- Seriously. Don't use this!-- GETTER -- Returns the BungeeChatApi instance. Don't use this though. Use
BungeeChatApi.getInstance()
instead!
-
-