mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Invert a condition in phasesCheck in an attempt to prevent a NPE
This commit is contained in:
@@ -178,7 +178,7 @@ public abstract class Trigger extends TriggerReplacementBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.mapParams.containsKey("OpponentTurn")) {
|
if (this.mapParams.containsKey("OpponentTurn")) {
|
||||||
if (!phaseHandler.getPlayerTurn().isOpponentOf(this.getHostCard().getController())) {
|
if (!this.getHostCard().getController().isOpponentOf(phaseHandler.getPlayerTurn())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user