From 536f9732e429532b1856c9a3ec78a5955b6c0c66 Mon Sep 17 00:00:00 2001 From: Zzooouhh Date: Fri, 22 Dec 2017 22:11:45 +0100 Subject: [PATCH] Overflow check --- Mage.Sets/src/mage/cards/f/FurnaceOfRath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/f/FurnaceOfRath.java b/Mage.Sets/src/mage/cards/f/FurnaceOfRath.java index 5bc4655be5..41e06785d7 100644 --- a/Mage.Sets/src/mage/cards/f/FurnaceOfRath.java +++ b/Mage.Sets/src/mage/cards/f/FurnaceOfRath.java @@ -99,7 +99,7 @@ class FurnaceOfRathEffect extends ReplacementEffectImpl { @Override public boolean replaceEvent(GameEvent event, Ability source, Game game) { - event.setAmount(2 * event.getAmount()); + event.setAmount(game.addWithOverflowCheck(event.getAmount(), event.getAmount())); return false; } }