mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Fixed Thoughtbound Primoc crashing the game .
This commit is contained in:
@@ -704,7 +704,7 @@ public class AbilityUtils {
|
|||||||
public static List<Player> getDefinedPlayers(final Card card, final String def, final SpellAbility sa) {
|
public static List<Player> getDefinedPlayers(final Card card, final String def, final SpellAbility sa) {
|
||||||
final List<Player> players = new ArrayList<Player>();
|
final List<Player> players = new ArrayList<Player>();
|
||||||
final String defined = (def == null) ? "You" : def;
|
final String defined = (def == null) ? "You" : def;
|
||||||
final Game game = sa.getActivatingPlayer().getGame();
|
final Game game = card == null ? null : card.getGame();
|
||||||
|
|
||||||
if (defined.equals("Targeted")) {
|
if (defined.equals("Targeted")) {
|
||||||
final SpellAbility saTargeting = sa.getSATargetingPlayer();
|
final SpellAbility saTargeting = sa.getSATargetingPlayer();
|
||||||
|
|||||||
Reference in New Issue
Block a user