forked from External/mage
Removed game.preventDamage method (fixes #8280)
This commit is contained in:
parent
532f158ab4
commit
eec3c44f1e
2 changed files with 2 additions and 21 deletions
|
|
@ -3067,11 +3067,6 @@ public abstract class GameImpl implements Game {
|
|||
return state.replaceEvent(event, targetAbility, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PreventionEffectData preventDamage(GameEvent event, Ability source, Game game, boolean preventAllDamage) {
|
||||
return preventDamage(event, source, game, Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PreventionEffectData preventDamage(GameEvent event, Ability source, Game game, int amountToPrevent) {
|
||||
PreventionEffectData result = new PreventionEffectData(amountToPrevent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue