blob: c8f8b7b8353216a741c80ffd181c455a2decdd02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package me.fatpigsarefat.quests.obj;
import me.fatpigsarefat.quests.Quests;
import org.bukkit.inventory.ItemStack;
public enum Items {
BACK_BUTTON("gui.back-button"),
QUEST_LOCKED("gui.quest-locked-display"),
QUEST_COOLDOWN("gui.quest-cooldown-display"),
QUEST_COMPLETED("gui.quest-completed-display");
String path;
Items(String path) {
this.path = path;
}
public ItemStack getItem() {
return Quests.getInstance().getItemStack(path);
}
}
|