Removed debugging code for issue #602.

This commit is contained in:
LevelX2 2014-10-25 17:32:50 +02:00
parent f2d0e72841
commit 26b5a277c4

View file

@ -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);
}