* Nest of Scarabs - Fixed that did not produce tokens when -1/-1 counters are placed on creatures. (fixes #3174).

This commit is contained in:
LevelX2 2017-05-03 14:59:21 +02:00
parent 69ac72e242
commit e73a2f5c58

View file

@ -83,7 +83,7 @@ class NestOfScarabsTriggeredAbility extends TriggeredAbilityImpl {
@Override
public boolean checkTrigger(GameEvent event, Game game) {
boolean weAreDoingIt = getControllerId().equals(game.getControllerId(event.getPlayerId()));
boolean weAreDoingIt = getControllerId().equals(event.getPlayerId());
boolean isM1M1Counters = event.getData().equals(CounterType.M1M1.getName());
if (weAreDoingIt && isM1M1Counters && event.getAmount() > 0) {
Permanent permanent = game.getPermanentOrLKIBattlefield(event.getTargetId());