mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Bugfix: zeppelin button sometimes visible although zeppelin hadn't been purchased.
This commit is contained in:
@@ -289,7 +289,9 @@ public class QuestWinLoseHandler extends ControlWinLose {
|
||||
|
||||
// Reset cards and zeppelin use
|
||||
qData.getCards().clearShopList();
|
||||
qData.getAssets().setItemLevel(QuestItemType.ZEPPELIN, 1);
|
||||
if (qData.getAssets().hasItem(QuestItemType.ZEPPELIN)) {
|
||||
qData.getAssets().setItemLevel(QuestItemType.ZEPPELIN, 1);
|
||||
}
|
||||
|
||||
if (qEvent instanceof QuestEventChallenge) {
|
||||
final int id = ((QuestEventChallenge) qEvent).getId();
|
||||
|
||||
Reference in New Issue
Block a user