From 51431c4e1b67f5c4a95285aed3e4e67ec2bab3c6 Mon Sep 17 00:00:00 2001 From: Zzooouhh Date: Sat, 23 Dec 2017 23:31:38 +0100 Subject: [PATCH] CardUtil overflow --- Mage.Sets/src/mage/cards/b/BitterFeud.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/b/BitterFeud.java b/Mage.Sets/src/mage/cards/b/BitterFeud.java index e97d01e230..e7d6495551 100644 --- a/Mage.Sets/src/mage/cards/b/BitterFeud.java +++ b/Mage.Sets/src/mage/cards/b/BitterFeud.java @@ -47,6 +47,7 @@ import mage.game.permanent.Permanent; import mage.game.stack.StackObject; import mage.players.Player; import mage.target.TargetPlayer; +import mage.util.CardUtil; /** * @@ -194,7 +195,7 @@ class BitterFeudEffect extends ReplacementEffectImpl { @Override public boolean replaceEvent(GameEvent event, Ability source, Game game) { - event.setAmount(game.addWithOverflowCheck(event.getAmount(), event.getAmount())); + event.setAmount(CardUtil.addWithOverflowCheck(event.getAmount(), event.getAmount())); return false; } }