mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
fixed bug in Effect AB that was causing a NPE
This commit is contained in:
@@ -541,8 +541,7 @@ public class AbilityFactoryEffect {
|
||||
if ((duration == null) || duration.equals("EndOfTurn")) {
|
||||
AllZone.getEndOfTurn().addUntil(endEffect);
|
||||
}
|
||||
|
||||
if (duration.equals("UntilHostLeavesPlay")) {
|
||||
else if (duration.equals("UntilHostLeavesPlay")) {
|
||||
card.addLeavesPlayCommand(endEffect);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user