Fix build error

This commit is contained in:
ChronosX88 2021-08-04 00:42:38 +03:00
parent 7a2868a165
commit e526dce1a1
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -19,7 +19,7 @@ public class AddItem implements Listener {
String title = OreMarket.main().getGuiConfig().getString("gui.title"); String title = OreMarket.main().getGuiConfig().getString("gui.title");
int rows = OreMarket.main().getGuiConfig().getInt("gui.rows"); int rows = OreMarket.main().getGuiConfig().getInt("gui.rows");
Inventory inv = Bukkit.createInventory(null, rows*9, ChatColor.translateAlternateColorCodes('&', title)); Inventory inv = Bukkit.createInventory(null, rows*9, ChatColor.translateAlternateColorCodes('&', title));
PlaceHolders plh = new PlaceHolders(); Placeholders plh = new Placeholders();
public void createGUI (Player player) { public void createGUI (Player player) {
for (String key : Objects.requireNonNull(OreMarket.main().getGuiConfig().getConfigurationSection("items")).getKeys(false)) { for (String key : Objects.requireNonNull(OreMarket.main().getGuiConfig().getConfigurationSection("items")).getKeys(false)) {