Add null check for Volrath's Shapeshifter

This commit is contained in:
Adam Pantel
2019-12-27 07:28:21 -05:00
parent 2690a4d548
commit c81d9f6bc2

View File

@@ -875,7 +875,7 @@ public class CardFactory {
}
}
if (sa.hasParam("GainTextOf")) {
if (sa.hasParam("GainTextOf") && originalState != null) {
state.setSetCode(originalState.getSetCode());
state.setRarity(originalState.getRarity());
state.setImageKey(originalState.getImageKey());