1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-03 17:00:16 -09:00

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 @Override
public boolean applies(GameEvent event, Ability source, Game game) { public boolean applies(GameEvent event, Ability source, Game game) {
if (event.getPlayerId().equals(source.getFirstTarget())) { if (event.getPlayerId().equals(source.getFirstTarget())) {
if (event.getType() == GameEvent.EventType.DRAW_CARD) { return true;
return true;
}
} }
return false; return false;
} }