forked from External/mage
* Fixed that equipments with restrictions (e.g. Gate Smasher) were not unequipped if the equipped permanent did no longer fulfill the restrictions(fixes #2212).
This commit is contained in:
parent
720a4457fd
commit
ab2399cbe7
17 changed files with 234 additions and 59 deletions
|
|
@ -229,7 +229,7 @@ class MoveAuraEffect extends OneShotEffect {
|
|||
}
|
||||
// Check for protection
|
||||
MageObject auraObject = game.getObject(auraId);
|
||||
if (permanentToAttachAuras.cantBeEnchantedBy(auraObject, game)) {
|
||||
if (permanentToAttachAuras.cantBeAttachedBy(auraObject, game)) {
|
||||
passed = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue