CostPayLife: refund never called and doesn't work

negative amount can't be paid in the function
This commit is contained in:
Hans Mackowiak
2019-01-11 09:16:50 +00:00
parent 948c13dd15
commit b2e9c88f62

View File

@@ -57,17 +57,6 @@ public class CostPayLife extends CostPart {
return sb.toString(); 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) * (non-Javadoc)
* *