mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +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.setRarity(originalState.getRarity());
|
||||
state.setImageKey(originalState.getImageKey());
|
||||
|
||||
Reference in New Issue
Block a user