forked from External/mage
use isActivePlayer where possible, some minor text fixes
This commit is contained in:
parent
013eccb6fa
commit
dcb1affb9d
27 changed files with 35 additions and 35 deletions
|
|
@ -37,7 +37,7 @@ public class AttacksAloneTriggeredAbility extends TriggeredAbilityImpl {
|
|||
|
||||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
if(game.getActivePlayerId().equals(this.controllerId) ) {
|
||||
if(game.isActivePlayer(this.controllerId) ) {
|
||||
UUID creatureId = this.getSourceId();
|
||||
if(creatureId != null) {
|
||||
if(game.getCombat().attacksAlone() && Objects.equals(creatureId, game.getCombat().getAttackers().get(0))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue