mirror of
https://github.com/SunNetservers/MiniGames.git
synced 2025-07-09 01:24:45 +02:00
Adds a partially usable arena menu openable through a command
This commit is contained in:
19
src/main/java/net/knarcraft/minigames/gui/DropperGUI.java
Normal file
19
src/main/java/net/knarcraft/minigames/gui/DropperGUI.java
Normal file
@ -0,0 +1,19 @@
|
||||
package net.knarcraft.minigames.gui;
|
||||
|
||||
/**
|
||||
* A GUI used in the dropper arena
|
||||
*/
|
||||
public class DropperGUI extends ArenaGUI {
|
||||
|
||||
/**
|
||||
* Instantiates a new dropper gui
|
||||
*/
|
||||
public DropperGUI() {
|
||||
super(9, "Dropper");
|
||||
setItem(0, getTogglePlayersItem());
|
||||
setItem(2, getLeaveItem());
|
||||
|
||||
setAnyClickAction(2, getLeaveAction());
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user