mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Update AdventureDeckEditor.java
fix bulk sell menu appearing on other catalogpages
This commit is contained in:
@@ -581,7 +581,7 @@ public class AdventureDeckEditor extends TabPageScreen<AdventureDeckEditor> {
|
|||||||
FMenuItem addBasic = new FMenuItem(Forge.getLocalizer().getMessage("lblAddBasicLands"), FSkinImage.LANDLOGO, e1 -> launchBasicLandDialog());
|
FMenuItem addBasic = new FMenuItem(Forge.getLocalizer().getMessage("lblAddBasicLands"), FSkinImage.LANDLOGO, e1 -> launchBasicLandDialog());
|
||||||
addItem(addBasic);
|
addItem(addBasic);
|
||||||
}
|
}
|
||||||
if (!isShop && catalogPage != null && !(catalogPage instanceof ContentPreviewPage)) {
|
if (!isShop && catalogPage != null && catalogPage instanceof CollectionCatalogPage) {
|
||||||
// Add bulk sell menu option. This will sell all cards in the current filter.
|
// Add bulk sell menu option. This will sell all cards in the current filter.
|
||||||
int count = 0;
|
int count = 0;
|
||||||
int value = 0;
|
int value = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user