oh how fun, even more constructor errors!
This commit is contained in:
parent
af6e28f14b
commit
f1fbe086d3
@ -119,7 +119,7 @@ public class ClansPage extends ClansCommandPageBase
|
||||
ArrayList<String> energyLore = new ArrayList<String>();
|
||||
|
||||
ShopItem energyItem = new ShopItem(energyMaterial, energyData, energyName, energyLore.toArray(new String[0]), 1, false, false);
|
||||
ClanEnergyButton energyButton = new ClanEnergyButton(getPlugin(), getPlayer(), clanInfo, clanRole);
|
||||
ClanEnergyButton energyButton = new ClanEnergyButton(getShop(), getPlugin(), getPlayer(), clanInfo, clanRole);
|
||||
addButton(4, energyItem, energyButton);
|
||||
}
|
||||
|
||||
@ -131,7 +131,7 @@ public class ClansPage extends ClansCommandPageBase
|
||||
ArrayList<String> leaveLore = new ArrayList<String>();
|
||||
|
||||
ShopItem leaveItem = new ShopItem(leaveMaterial, leaveData, leaveName, leaveLore.toArray(new String[0]), 1, false, false);
|
||||
ClanLeaveButton leaveButton = new ClanLeaveButton(getPlugin(), getPlayer(), clanInfo, clanRole);
|
||||
ClanLeaveButton leaveButton = new ClanLeaveButton(getShop(), getPlugin(), getPlayer(), clanInfo, clanRole);
|
||||
addButton(6, leaveItem, leaveButton);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user