From aa4645b0365f287acf3e0be4a669f0641ac7cd27 Mon Sep 17 00:00:00 2001 From: ulumulu1510 Date: Tue, 3 Mar 2015 21:35:37 +0100 Subject: [PATCH] Change sentence formatting in modifyMoney --- src/com/massivecraft/factions/integration/Econ.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/com/massivecraft/factions/integration/Econ.java b/src/com/massivecraft/factions/integration/Econ.java index c437d027..a46880de 100644 --- a/src/com/massivecraft/factions/integration/Econ.java +++ b/src/com/massivecraft/factions/integration/Econ.java @@ -236,6 +236,7 @@ public class Econ if (delta == 0) return true; String You = ep.describeTo(ep, true); + String you = ep.describeTo(ep, false); boolean hasActionDesctription = (actionDescription != null && !actionDescription.isEmpty()); @@ -247,11 +248,11 @@ public class Econ { if (delta > 0) { - ep.msg("%s gained %s since did %s.", You, Money.format(delta), actionDescription); + ep.msg("%s gained %s since %s did %s.", You, Money.format(delta), you, actionDescription); } else { - ep.msg("%s lost %s since did %s.", You, Money.format(-delta), actionDescription); + ep.msg("%s lost %s since %s did %s.", You, Money.format(-delta), you, actionDescription); } } return true; @@ -262,7 +263,7 @@ public class Econ { if (delta > 0) { - ep.msg("%s would have gained %s since did %s, but the deposit failed.", You, Money.format(delta), actionDescription); + ep.msg("%s would have gained %s since %s did %s, but the deposit failed.", You, Money.format(delta), you, actionDescription); } else {