Fixed chest pages again
This commit is contained in:
parent
6870bf31db
commit
7f6f3464a1
@ -89,6 +89,7 @@ public class BuyChestButton implements IButton
|
||||
_page.getShop().openPageForPlayer(player, new ConfirmationPage<>(player, _page, new SalesPackageProcessor(player, GlobalCurrency.TREASURE_SHARD, salesPackage, _page.getDonationManager(), () ->
|
||||
{
|
||||
_inventoryManager.addItemToInventory(player, _chestName, 1);
|
||||
player.closeInventory();
|
||||
TreasurePage page = new TreasurePage(_page.getTreasureManager(), _page.getTreasureShop(), _page.getTreasureLocation(),
|
||||
_page.getClientManager(), _page.getDonationManager(), _page.getInventoryManager(),
|
||||
_page.getGadgetManager(), player, _page.getActualPage());
|
||||
|
Loading…
Reference in New Issue
Block a user