mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Fixed C20 Locust God insects' images not displaying
This commit is contained in:
parent
6c02923c15
commit
9a02f6cb90
1 changed files with 10 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ import mage.abilities.keyword.FlyingAbility;
|
||||||
import mage.abilities.keyword.HasteAbility;
|
import mage.abilities.keyword.HasteAbility;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.SubType;
|
import mage.constants.SubType;
|
||||||
|
import mage.util.RandomUtil;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
|
@ -27,6 +28,15 @@ public final class TheLocustGodInsectToken extends TokenImpl {
|
||||||
availableImageSetCodes = Arrays.asList("HOU", "C20");
|
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) {
|
public TheLocustGodInsectToken(final TheLocustGodInsectToken token) {
|
||||||
super(token);
|
super(token);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue