mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
add Serializable to PreventNextDamageFromChosenSourceEffect::ApplierOnPrevention
This commit is contained in:
parent
9e2a1a59e0
commit
bf487046e1
1 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ import mage.players.Player;
|
|||
import mage.target.TargetSource;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
|
|
@ -23,7 +24,7 @@ public class PreventNextDamageFromChosenSourceEffect extends PreventionEffectImp
|
|||
private final boolean toYou;
|
||||
private final ApplierOnPrevention onPrevention;
|
||||
|
||||
public interface ApplierOnPrevention {
|
||||
public interface ApplierOnPrevention extends Serializable {
|
||||
boolean apply(PreventionEffectData data, TargetSource targetsource, GameEvent event, Ability source, Game game);
|
||||
|
||||
String getText();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue