mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix life lost triggers
This commit is contained in:
@@ -310,7 +310,7 @@ public class CardStorageReader {
|
||||
|
||||
private void executeLoadTask(final Collection<CardRules> result, final List<Callable<List<CardRules>>> tasks, final CountDownLatch cdl) {
|
||||
try {
|
||||
if ( useThreadPool ) {
|
||||
if (useThreadPool) {
|
||||
final ExecutorService executor = ThreadUtil.getComputingPool(0.5f);
|
||||
final List<Future<List<CardRules>>> parts = executor.invokeAll(tasks);
|
||||
executor.shutdown();
|
||||
|
||||
@@ -423,7 +423,7 @@ public final class CardRules implements ICardCharacteristics {
|
||||
String variable = colonPos > 0 ? value.substring(0, colonPos) : value;
|
||||
value = colonPos > 0 ? value.substring(1+colonPos) : null;
|
||||
|
||||
if ( "RemoveDeck".equals(variable) ) {
|
||||
if ("RemoveDeck".equals(variable)) {
|
||||
this.removedFromAIDecks |= "All".equalsIgnoreCase(value);
|
||||
this.removedFromRandomDecks |= "Random".equalsIgnoreCase(value);
|
||||
this.removedFromNonCommanderDecks |= "NonCommander".equalsIgnoreCase(value);
|
||||
|
||||
Reference in New Issue
Block a user