oh how fun, even more constructor errors!

This commit is contained in:
NewGarbo 2015-11-09 20:34:47 +00:00
parent af6e28f14b
commit f1fbe086d3

View File

@ -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);
}