Interface MenuPostCloseCallback<M extends Menu<M>>
public interface MenuPostCloseCallback<M extends Menu<M>>
-
Method Summary
Modifier and TypeMethodDescriptionvoidonPostClose(@NotNull Player player, M menu) Called after the menu is closed.
-
Method Details
-
onPostClose
Called after the menu is closed. With the ability to safely re-open the menu if needed.
SeeMenu.reopenMenu()for reopening the menu for the player.- Parameters:
player- The player who closed the menu.menu- The menu that was closed
-