mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
Removed debugging code for issue #602.
This commit is contained in:
parent
f2d0e72841
commit
26b5a277c4
1 changed files with 0 additions and 4 deletions
|
@ -826,10 +826,6 @@ public class ContinuousEffects implements Serializable {
|
|||
layer = filterLayeredEffects(layerEffects, Layer.PTChangingEffects_7);
|
||||
for (ContinuousEffect effect: layer) {
|
||||
HashSet<Ability> abilities = layeredEffects.getAbility(effect.getId());
|
||||
if (abilities == null) { // Added because of #602 - can be removed if cause is removed
|
||||
logger.error("Effect not connected to an ability: " + effect.toString());
|
||||
continue;
|
||||
}
|
||||
for (Ability ability : abilities) {
|
||||
effect.apply(Layer.PTChangingEffects_7, SubLayer.SetPT_7b, ability, game);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue