Remove event type check from applies function.

This commit is contained in:
Skyler Sell 2016-01-09 01:38:03 -08:00
parent e045461365
commit 1d894c31d0

View file

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