Fixed issue with chest pages not turning to page 2
This commit is contained in:
parent
9024bb6569
commit
9669f626a1
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user