From b2e9c88f6229f5c991a75444875f43c23f056c4b Mon Sep 17 00:00:00 2001 From: Hans Mackowiak Date: Fri, 11 Jan 2019 09:16:50 +0000 Subject: [PATCH] CostPayLife: refund never called and doesn't work negative amount can't be paid in the function --- .../src/main/java/forge/game/cost/CostPayLife.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/forge-game/src/main/java/forge/game/cost/CostPayLife.java b/forge-game/src/main/java/forge/game/cost/CostPayLife.java index 8b462de5b48..05cefe94976 100644 --- a/forge-game/src/main/java/forge/game/cost/CostPayLife.java +++ b/forge-game/src/main/java/forge/game/cost/CostPayLife.java @@ -57,17 +57,6 @@ public class CostPayLife extends CostPart { return sb.toString(); } - /* - * (non-Javadoc) - * - * @see forge.card.cost.CostPart#refund(forge.Card) - */ - @Override - public final void refund(final Card source) { - // Really should be activating player - source.getController().payLife(this.paidAmount * -1, null); - } - /* * (non-Javadoc) *