add suport for custom ConfirmationPage names
This commit is contained in:
parent
7b955dad16
commit
81619a6886
|
@ -31,9 +31,9 @@ public class ConfirmationPage<PluginType extends MiniPlugin, ShopType extends Sh
|
|||
private ConfirmationProcessor _processor;
|
||||
private boolean _processing;
|
||||
|
||||
public ConfirmationPage(Player player, ShopPageBase<PluginType, ShopType> returnPage, ConfirmationProcessor processor, ItemStack displayItem)
|
||||
public ConfirmationPage(Player player, ShopPageBase<PluginType, ShopType> returnPage, ConfirmationProcessor processor, ItemStack displayItem, String name)
|
||||
{
|
||||
super(returnPage.getPlugin(), returnPage.getShop(), returnPage.getClientManager(), returnPage.getDonationManager(), "Confirmation", player);
|
||||
super(returnPage.getPlugin(), returnPage.getShop(), returnPage.getClientManager(), returnPage.getDonationManager(), name, player);
|
||||
|
||||
_returnPage = returnPage;
|
||||
_displayItem = displayItem;
|
||||
|
@ -42,6 +42,11 @@ public class ConfirmationPage<PluginType extends MiniPlugin, ShopType extends Sh
|
|||
buildPage();
|
||||
}
|
||||
|
||||
public ConfirmationPage(Player player, ShopPageBase<PluginType, ShopType> returnPage, ConfirmationProcessor processor, ItemStack displayItem)
|
||||
{
|
||||
this(player, returnPage, processor, displayItem, "Confirmation");
|
||||
}
|
||||
|
||||
public ConfirmationPage(Player player, PluginType plugin, ShopType shop, CoreClientManager clientManager, DonationManager donationManager, ConfirmationProcessor processor, ItemStack displayItem)
|
||||
{
|
||||
super(plugin, shop, clientManager, donationManager, "Confirmation", player);
|
||||
|
|
Loading…
Reference in New Issue