Package valorless.havenbags.gui
Class FeaturesGUI.OpenGUIs
java.lang.Object
valorless.havenbags.gui.FeaturesGUI.OpenGUIs
- Enclosing class:
FeaturesGUI
Static class to keep track of all open UpgradeGUIs.
Used to close all open GUIs when the server stops or the plugin is disabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(org.bukkit.entity.Player player, FeaturesGUI gui) static voidcloseAll()static booleancontains(org.bukkit.entity.Player player) static booleancontains(FeaturesGUI gui) static FeaturesGUIget(org.bukkit.entity.Player player) static voidremove(org.bukkit.entity.Player player) static voidremove(FeaturesGUI gui)
-
Constructor Details
-
OpenGUIs
public OpenGUIs()
-
-
Method Details
-
add
-
contains
public static boolean contains(org.bukkit.entity.Player player) -
contains
-
get
-
remove
public static void remove(org.bukkit.entity.Player player) -
remove
-
closeAll
public static void closeAll()
-