mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Add null check for Volrath's Shapeshifter
This commit is contained in:
@@ -875,7 +875,7 @@ public class CardFactory {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sa.hasParam("GainTextOf")) {
|
if (sa.hasParam("GainTextOf") && originalState != null) {
|
||||||
state.setSetCode(originalState.getSetCode());
|
state.setSetCode(originalState.getSetCode());
|
||||||
state.setRarity(originalState.getRarity());
|
state.setRarity(originalState.getRarity());
|
||||||
state.setImageKey(originalState.getImageKey());
|
state.setImageKey(originalState.getImageKey());
|
||||||
|
|||||||
Reference in New Issue
Block a user