mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
fixed NPE that prevented Dredge from working
This commit is contained in:
@@ -37,7 +37,9 @@ public class GuiDialog {
|
||||
Callable<Boolean> confirmTask = new Callable<Boolean>() {
|
||||
@Override
|
||||
public Boolean call() throws Exception {
|
||||
if ( null != c )
|
||||
CMatchUI.SINGLETON_INSTANCE.setCard(c);
|
||||
|
||||
final String title = c == null ? "Question" : c.getName() + " - Ability";
|
||||
String questionToUse = StringUtils.isBlank(question) ? "Activate card's ability?" : question;
|
||||
String[] opts = options == null ? defaultConfirmOptions : options;
|
||||
|
||||
Reference in New Issue
Block a user