mirror of
https://github.com/darksaid98/nightcore-spigot.git
synced 2026-12-04 14:38:46 +00:00
v2.7.3
This commit is contained in:
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 -> {});
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user