Move ShopManagementGui Title to MessageConfig.java
This commit is contained in:
@@ -69,11 +69,13 @@ public class MessageConfig extends AbstractConfiguration {
|
||||
public static String GUI_LIST_PLAYERS_TITLE = "<green>Player shops <page>/<pages>";
|
||||
public static String GUI_LIST_SHOPS_TITLE = "<green>Players shops by <playername> <page>/<pages>";
|
||||
public static String GUI_LIST_TRANSACTIONS_TITLE = "<green>Shop Transactions <page>/<pages>";
|
||||
public static String GUI_MANAGE_TITLE = "<green>Shop Manager";
|
||||
private static void guiTitles() {
|
||||
GUI_HOME_TITLE = config.getString("gui.home-title", GUI_HOME_TITLE);
|
||||
GUI_LIST_PLAYERS_TITLE = config.getString("gui.list-players-title", GUI_LIST_PLAYERS_TITLE);
|
||||
GUI_LIST_SHOPS_TITLE = config.getString("gui.list-shops-title", GUI_LIST_SHOPS_TITLE);
|
||||
GUI_LIST_TRANSACTIONS_TITLE = config.getString("gui.list-transactions-title", GUI_LIST_TRANSACTIONS_TITLE);
|
||||
GUI_MANAGE_TITLE = config.getString("gui.manage-title", GUI_MANAGE_TITLE);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -76,9 +76,4 @@ public class ShopTypeConfig {
|
||||
yourShopNoStock = getString("transaction.your-shop-no-stock", yourShopNoStock);
|
||||
}
|
||||
|
||||
public static String MANAGE_TITLE = "<green>Shop Manager</green>";
|
||||
private void menuTitles() {
|
||||
MANAGE_TITLE = getString("title.management-gui", MANAGE_TITLE);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user