Fixed issue with chest pages not turning to page 2

This commit is contained in:
LCastr0 2017-02-03 18:31:32 -02:00
parent 9024bb6569
commit 9669f626a1
2 changed files with 1 additions and 8 deletions

View File

@ -72,7 +72,7 @@ public class BuyChestButton implements IButton
}
if (_chestType == TreasureType.LOVE_CHEST)
{
if (!new File("../../update/files/EnableLove.dat").exists())
if (!new File("../../update/files/EnableLoveChest.dat").exists())
{
player.sendMessage(F.main("Treasure", "That chest is no longer available for purchase!"));
return;

View File

@ -455,13 +455,6 @@ public class TreasurePage extends ShopPageBase<TreasureManager, TreasureShop>
_normalTreasures.add(omegaTreasureItem);
_normalTreasures.add(minestrikeTreasureItem);
_seasonalTreasures.add(winterTreasureItem);
_seasonalTreasures.add(freedomTreasureItem);
_seasonalTreasures.add(hauntedTreasureItem);
_seasonalTreasures.add(trickTreasureItem);
_seasonalTreasures.add(thankTreasureItem);
_seasonalTreasures.add(gingerbreadTreasureItem);
if (availableLove)
_specialTreasures.add(loveChestItem);
else