Add challenges node to IslandGUI.java
This commit is contained in:
parent
528c15db9b
commit
09525f0be1
|
|
@ -1,5 +1,6 @@
|
|||
package com.alttd.cometskyblock.island.gui;
|
||||
|
||||
import com.alttd.cometskyblock.challenges.ChallengesGUI;
|
||||
import com.alttd.cometskyblock.gui.GUIInventory;
|
||||
import com.alttd.cometskyblock.island.Island;
|
||||
import com.alttd.cometskyblock.island.IslandPlayer;
|
||||
|
|
@ -42,6 +43,10 @@ public class IslandGUI extends GUIInventory {
|
|||
player.closeInventory();
|
||||
new SettingsGUI(island).open(player);
|
||||
}));
|
||||
addButton(13, createMenuButton(Material.ENCHANTED_BOOK, "Challenes", new ArrayList<>(), event -> {
|
||||
player.closeInventory();
|
||||
new ChallengesGUI(island).open(player);
|
||||
}));
|
||||
|
||||
addButton(16, createMenuButton(Material.PLAYER_HEAD, "Island Members!", new ArrayList<>(), event -> {
|
||||
player.closeInventory();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user