Merge pull request #3193 from jjayers99/master

Adventure card inventory update fix
This commit is contained in:
Anthony Calosa
2023-06-03 21:59:01 +08:00
committed by GitHub
2 changed files with 19 additions and 69 deletions

View File

@@ -240,7 +240,7 @@ public class AdventureDeckEditor extends TabPageScreen<AdventureDeckEditor> {
for(TabPage<AdventureDeckEditor> page:tabPages) for(TabPage<AdventureDeckEditor> page:tabPages)
{ {
if(page instanceof CardManagerPage) if(page instanceof CardManagerPage)
((CardManagerPage)page).initialize(); ((CardManagerPage)page).refresh();
} }
for (TabPage<AdventureDeckEditor> tabPage : tabPages) { for (TabPage<AdventureDeckEditor> tabPage : tabPages) {
((DeckEditorPage)tabPage).initialize(); ((DeckEditorPage)tabPage).initialize();

View File

@@ -588,10 +588,7 @@
"Humanoid", "Humanoid",
"IdentityWhite", "IdentityWhite",
"Mythical", "Mythical",
"Warrior", "Warrior"
null,
null,
null
] ]
}, },
{ {
@@ -1203,12 +1200,7 @@
"Human", "Human",
"Archer", "Archer",
"Soldier", "Soldier",
"IdentitySelesnya", "IdentitySelesnya"
null,
null,
null,
null,
null
] ]
}, },
{ {
@@ -1255,8 +1247,7 @@
"IdentityAzorius", "IdentityAzorius",
"Archaeologist", "Archaeologist",
"Scientist", "Scientist",
"Artificer", "Artificer"
null
] ]
}, },
{ {
@@ -1398,11 +1389,7 @@
"Furnace", "Furnace",
"IdentityColorless", "IdentityColorless",
"Construct", "Construct",
"Robot", "Robot"
null,
null,
null,
null
] ]
}, },
{ {
@@ -2670,12 +2657,7 @@
"Desert", "Desert",
"Domesticated", "Domesticated",
"Beast", "Beast",
"IdentityWhite", "IdentityWhite"
null,
null,
null,
null,
null
] ]
}, },
{ {
@@ -2974,10 +2956,7 @@
"Mystic", "Mystic",
"Octopus", "Octopus",
"Sneaky", "Sneaky",
"Wandering", "Wandering"
null,
null,
null
] ]
}, },
{ {
@@ -4378,8 +4357,7 @@
"Boss", "Boss",
"Evil", "Evil",
"Warlock", "Warlock",
"Intelligent", "Intelligent"
null
] ]
}, },
{ {
@@ -6236,9 +6214,7 @@
"IdentityRed", "IdentityRed",
"BiomeRed", "BiomeRed",
"Bandit", "Bandit",
"Subterranean", "Subterranean"
null,
null
] ]
}, },
{ {
@@ -6321,10 +6297,7 @@
"Mercenary", "Mercenary",
"IdentityGruul", "IdentityGruul",
"IdentityRed", "IdentityRed",
"Dwarf", "Dwarf"
null,
null,
null
] ]
}, },
{ {
@@ -7347,11 +7320,7 @@
"Dragon", "Dragon",
"Flyer", "Flyer",
"Fire", "Fire",
"Monster", "Monster"
null,
null,
null,
null
] ]
}, },
{ {
@@ -9354,10 +9323,7 @@
"Nature", "Nature",
"Wizard", "Wizard",
"Mystic", "Mystic",
"IdentityGreen", "IdentityGreen"
null,
null,
null
] ]
}, },
{ {
@@ -9412,8 +9378,7 @@
"IdentityRed", "IdentityRed",
"IdentityBoros", "IdentityBoros",
"IdentityWhite", "IdentityWhite",
"Gladiator", "Gladiator"
null
] ]
}, },
{ {
@@ -10696,9 +10661,7 @@
"IdentityGreen", "IdentityGreen",
"Hidden", "Hidden",
"Sneaky", "Sneaky",
"Plant", "Plant"
null,
null
] ]
}, },
{ {
@@ -10748,10 +10711,7 @@
"Hidden", "Hidden",
"Sneaky", "Sneaky",
"Ambush", "Ambush",
"IdentityGreen", "IdentityGreen"
null,
null,
null
] ]
}, },
{ {
@@ -11405,9 +11365,7 @@
"IdentityGreen", "IdentityGreen",
"IdentityWhite", "IdentityWhite",
"IdentitySelesnya", "IdentitySelesnya",
"Mercenary", "Mercenary"
null,
null
] ]
}, },
{ {
@@ -12174,9 +12132,7 @@
"IdentityWhite", "IdentityWhite",
"Mercenary", "Mercenary",
"IdentityBlue", "IdentityBlue",
"IdentityAzorius", "IdentityAzorius"
null,
null
] ]
}, },
{ {
@@ -16433,12 +16389,7 @@
"Beast", "Beast",
"Nature", "Nature",
"IdentityBlack", "IdentityBlack",
"Scarab", "Scarab"
null,
null,
null,
null,
null
] ]
}, },
{ {
@@ -18208,8 +18159,7 @@
"IdentityGolgari", "IdentityGolgari",
"Cook", "Cook",
"Human", "Human",
"Boss", "Boss"
null
] ]
}, },
{ {