Fixed C20 Locust God insects' images not displaying
@@ -5,6 +5,7 @@ import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.HasteAbility;
import mage.constants.CardType;
import mage.constants.SubType;
+import mage.util.RandomUtil;
import java.util.Arrays;
@@ -27,6 +28,15 @@ public final class TheLocustGodInsectToken extends TokenImpl {
availableImageSetCodes = Arrays.asList("HOU", "C20");
}
+ @Override
+ public void setExpansionSetCodeForImage(String code) {
+ super.setExpansionSetCodeForImage(code);
+
+ if (getOriginalExpansionSetCode() != null && getOriginalExpansionSetCode().equals("C20")) {
+ this.setTokenType(2);
+ }
+ }
+
public TheLocustGodInsectToken(final TheLocustGodInsectToken token) {
super(token);
}
