Added a title to the shop management gui
This commit is contained in:
parent
e568eec906
commit
053c8f7060
|
|
@ -76,4 +76,9 @@ 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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
package com.alttd.playershops.gui;
|
||||
|
||||
import com.alttd.playershops.PlayerShops;
|
||||
import com.alttd.playershops.config.ShopTypeConfig;
|
||||
import com.alttd.playershops.conversation.ConversationManager;
|
||||
import com.alttd.playershops.conversation.ConversationType;
|
||||
import com.alttd.playershops.shop.PlayerShop;
|
||||
|
|
@ -25,7 +26,7 @@ public class ShopManagementGui extends AbstractGui {
|
|||
|
||||
public ShopManagementGui(UUID uuid, PlayerShop shop) {
|
||||
super(uuid);
|
||||
this.inventory = Bukkit.createInventory(this, INV_SIZE, Util.parseMiniMessage("Config.gui.management-title"));
|
||||
this.inventory = Bukkit.createInventory(this, INV_SIZE, Util.parseMiniMessage(ShopTypeConfig.MANAGE_TITLE));
|
||||
this.shop = shop;
|
||||
initInvContents();
|
||||
makeMenuBar();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user