mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
CastAsThoughItHadFlashAllEffect applies function variant throws error instead of returning false
This commit is contained in:
parent
47fc192a36
commit
639aba4592
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ public class CastAsThoughItHadFlashAllEffect extends AsThoughEffectImpl {
|
|||
}
|
||||
@Override
|
||||
public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) {
|
||||
return false;
|
||||
throw new IllegalArgumentException("Wrong code usage: can't call applies method on empty affectedAbility");
|
||||
}
|
||||
|
||||
private String setText() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue