- Fixed all effects without the "Image" parameter throwing errors.

This commit is contained in:
Sloth
2012-01-28 08:06:03 +00:00
parent 19b6b63540
commit c3de5679ea

View File

@@ -397,7 +397,9 @@ public class AbilityFactoryEffect {
eff.setImageName(card.getImageName()); eff.setImageName(card.getImageName());
eff.setColor(card.getColor()); eff.setColor(card.getColor());
eff.setImmutable(true); eff.setImmutable(true);
if (params.containsKey("Image")) {
eff.setImageName(params.get("Image")); eff.setImageName(params.get("Image"));
}
// Effects should be Orange or something probably // Effects should be Orange or something probably