package com.github.Fupery.InvMenu.API.Templates;

import com.github.Fupery.InvMenu.API.Handler.CacheableMenu;
import org.bukkit.entity.Player;

public interface ChildMenu extends MenuTemplate {
    CacheableMenu getParent(Player viewer);
}

@@ -84,64 +84,295 @@
 API.
-Handler.CacheableMenu;%0Aimport org.bukkit.entity.Player;%0A
+Event.MenuCloseReason;%0Aimport com.github.Fupery.InvMenu.API.Handler.CacheableMenu;%0Aimport org.bukkit.entity.Player;%0A%0A/**%0A * Implement this interface to give your menu child menu behaviour:%0A * if it is closed with %7B@link MenuCloseReason#BACK%7D, its parent will automatically be opened.%0A */
 %0Apub

Add documentation for childmenu