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());
|
||||
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.
|
||||
int count = 0;
|
||||
int value = 0;
|
||||
|
||||
Reference in New Issue
Block a user