Interface MenuPostCloseCallback<M extends Menu<M>>


public interface MenuPostCloseCallback<M extends Menu<M>>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPostClose(@NotNull Player player, M menu)
    Called after the menu is closed.
  • Method Details

    • onPostClose

      void onPostClose(@NotNull @NotNull Player player, @NotNull M menu)
      Called after the menu is closed. With the ability to safely re-open the menu if needed.
      See Menu.reopenMenu() for reopening the menu for the player.
      Parameters:
      player - The player who closed the menu.
      menu - The menu that was closed