This commit is contained in:
nulli0n committed 2024-12-09 15:30:00 +05:00
1 parent b9c8e7ea98
commit adba363de1
1 file changed
+18
@@ -0,0 +1,18 @@
package su.nightexpress.nightcore.ui.menu.type;
import org.bukkit.entity.Player;
import org.bukkit.inventory.MenuType;
import org.jetbrains.annotations.NotNull;
import su.nightexpress.nightcore.NightPlugin;
@SuppressWarnings("UnstableApiUsage")
public abstract class NormalMenu<P extends NightPlugin> extends AbstractMenu<P> {
public NormalMenu(@NotNull P plugin, @NotNull MenuType menuType, @NotNull String title) {
super(plugin, menuType, title);
}
public boolean open(@NotNull Player player) {
return this.open(player, viewer -> {});
}
}