This commit is contained in:
Luca 2021-11-23 16:41:23 +01:00
parent 9d94899589
commit 05a5e92cb6
3 changed files with 6 additions and 7 deletions

View File

@ -102,10 +102,10 @@ public class ArenaManager {
String copyTeamBmin = copiedSection.getString(copy + ".teamBmin");
String copyTeamBmax = copiedSection.getString(copy + ".teamBmax");
String copyTeamAshop = section.getString(copy + ".teamAshop");
String copyTeamBshop = section.getString(copy + ".teamBshop");
String copyTeamAupgrades = section.getString(copy + ".teamAupgrades");
String copyTeamBupgrades = section.getString(copy + ".teamBupgrades");
String copyTeamAshop = copiedSection.getString(copy + ".teamAshop");
String copyTeamBshop = copiedSection.getString(copy + ".teamBshop");
String copyTeamAupgrades = copiedSection.getString(copy + ".teamAupgrades");
String copyTeamBupgrades = copiedSection.getString(copy + ".teamBupgrades");
List<String> copyTeamGenerators = copiedSection.getStringList(copy + ".team-generators");
List<String> copyDiamondGenerators = copiedSection.getStringList(copy + ".diamond-generators");
@ -120,7 +120,6 @@ public class ArenaManager {
CustomLocation copyLocTeamBmin = CustomLocation.stringToLocation(copyTeamBmin);
CustomLocation copyLocTeamBmax = CustomLocation.stringToLocation(copyTeamBmax);
CustomLocation copyLocTeamAshop = CustomLocation.stringToLocation(copyTeamAshop);
CustomLocation copyLocTeamBshop = CustomLocation.stringToLocation(copyTeamBshop);
CustomLocation copyLocTeamAupgrades = CustomLocation.stringToLocation(copyTeamAupgrades);

View File

@ -23,7 +23,7 @@ public class ShopTypeButton extends Button {
return new ItemBuilder(shopType.getMaterial())
.durability(shopType.getData())
.name(shopType.getName())
.name("&d&l" + shopType.getName())
.lore(loreList)
.hideFlags()
.build();

View File

@ -42,7 +42,7 @@ public class BlocksMenu extends Menu {
buttons.put(22, new ShopButton("End Stone", Material.ENDER_STONE, 0, 12, Material.IRON_INGOT, "Iron", ChatColor.WHITE,24, false));
buttons.put(23, new ShopButton("Ladder", Material.LADDER, 0, 8, Material.IRON_INGOT, "Iron", ChatColor.WHITE,4, false));
buttons.put(24, new ShopButton("Wood", Material.WOOD, 0, 12, Material.GOLD_INGOT, "Gold", ChatColor.GOLD,4, false));
buttons.put(25, new ShopButton("Obsidian", Material.OBSIDIAN, 0, 4, Material.EMERALD, "Emerald", ChatColor.GREEN,4, false));
buttons.put(25, new ShopButton("Obsidian", Material.OBSIDIAN, 0, 4, Material.EMERALD, "Emeralds", ChatColor.DARK_GREEN,4, false));
fillEmptySlots(buttons, new ItemBuilder(Material.STAINED_GLASS_PANE).durability(7).name(" ").build());