forked from External/mage
Fixed some problems with UUID comparing and some problems with card moving.
This commit is contained in:
parent
4d8263ff82
commit
52d0adcac1
45 changed files with 364 additions and 360 deletions
|
|
@ -1246,7 +1246,7 @@ public class ContinuousEffects implements Serializable {
|
|||
HashSet<Ability> abilities = preventionEffects.getAbility(effect.getId());
|
||||
for (Ability ability : abilities) {
|
||||
if (ability.getSourceId().equals(sourceId)) {
|
||||
if (controllerFound == null || controllerFound == ability.getControllerId()) {
|
||||
if (controllerFound == null || controllerFound.equals(ability.getControllerId())) {
|
||||
controllerFound = ability.getControllerId();
|
||||
} else {
|
||||
// not unique controller - No solution yet
|
||||
|
|
@ -1260,7 +1260,7 @@ public class ContinuousEffects implements Serializable {
|
|||
for (Ability ability : abilities) {
|
||||
if (ability.getSourceId() != null) {
|
||||
if (ability.getSourceId().equals(sourceId)) {
|
||||
if (controllerFound == null || controllerFound == ability.getControllerId()) {
|
||||
if (controllerFound == null || controllerFound.equals(ability.getControllerId())) {
|
||||
controllerFound = ability.getControllerId();
|
||||
} else {
|
||||
// not unique controller - No solution yet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue