- Invert a condition in phasesCheck in an attempt to prevent a NPE

This commit is contained in:
Agetian
2014-09-30 19:00:30 +00:00
parent 89fd88ad1d
commit ba5feb5021

View File

@@ -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;
} }
} }