mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Sovereigns of Lost Alara - Fixed a bug that the effect attaching the aura to the attacking creature throws an error.
This commit is contained in:
parent
84df0f2c43
commit
b7a22aa283
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ public class ContinuousEffects implements Serializable {
|
|||
ReplacementEffect entry = it1.next();
|
||||
if (consumed.containsKey(entry.getId())) {
|
||||
HashSet<UUID> consumedAbilitiesIds = consumed.get(entry.getId());
|
||||
if (consumedAbilitiesIds.size() == ((HashSet<Ability>) rEffects.get(entry)).size()) {
|
||||
if (rEffects.get(entry) == null || consumedAbilitiesIds.size() == ((HashSet<Ability>) rEffects.get(entry)).size()) {
|
||||
it1.remove();
|
||||
} else {
|
||||
Iterator it = ((HashSet<Ability>) rEffects.get(entry)).iterator();
|
||||
|
|
Loading…
Reference in a new issue