aboutsummaryrefslogtreecommitdiffstats
path: root/src/me/fatpigsarefat/quests/obj/misc/QMenuQuest.java
diff options
context:
space:
mode:
authorfatpigsarefat <fatpigsarefat@outlook.com>2018-04-18 21:15:44 +0100
committerfatpigsarefat <fatpigsarefat@outlook.com>2018-04-18 21:15:44 +0100
commitd177ad9fde6f0a78252e0f60017e91d2aa4260d4 (patch)
treeb918b6ba89bd3767d5a441b79c11d331f6e35ad7 /src/me/fatpigsarefat/quests/obj/misc/QMenuQuest.java
parent44f0601e91acfc3f73b030f2999db74ddacbf8f2 (diff)
customisable gui names
Diffstat (limited to 'src/me/fatpigsarefat/quests/obj/misc/QMenuQuest.java')
-rw-r--r--src/me/fatpigsarefat/quests/obj/misc/QMenuQuest.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/me/fatpigsarefat/quests/obj/misc/QMenuQuest.java b/src/me/fatpigsarefat/quests/obj/misc/QMenuQuest.java
index 8932159c..7200357e 100644
--- a/src/me/fatpigsarefat/quests/obj/misc/QMenuQuest.java
+++ b/src/me/fatpigsarefat/quests/obj/misc/QMenuQuest.java
@@ -78,14 +78,14 @@ public class QMenuQuest implements QMenu {
currentPage = page;
int pageMin = pageSize * (page - 1);
int pageMax = pageSize * page;
- String title = "Quests";
+ String title = Options.GUITITLE_QUESTS.getStringValue();
ItemStack pageIs;
ItemStack pagePrevIs;
ItemStack pageNextIs;
ItemStack back = Items.BACK_BUTTON.getItem();
- Inventory inventory = Bukkit.createInventory(null, 54, title); //TODO make configurable title
+ Inventory inventory = Bukkit.createInventory(null, 54, title);
int invSlot = 0;
for (int pointer = pageMin; pointer < pageMax; pointer++) {
@@ -178,8 +178,6 @@ public class QMenuQuest implements QMenu {
}
return inventory;
-
- //TODO add page controls
}
public boolean isBackButtonEnabled() {