mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Remove event type check from applies function.
This commit is contained in:
parent
e045461365
commit
1d894c31d0
1 changed files with 1 additions and 3 deletions
|
@ -104,9 +104,7 @@ class PlagiarizeEffect extends ReplacementEffectImpl {
|
|||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
if (event.getPlayerId().equals(source.getFirstTarget())) {
|
||||
if (event.getType() == GameEvent.EventType.DRAW_CARD) {
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue