From 1101f3c399a8a954f8a6a05919a71aab90823297 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Sat, 7 Dec 2013 11:47:44 +0100 Subject: [PATCH] Shh no spells. Only tears now. ![Featured Image](https://www.massivecraft.com/wp-content/uploads/2013/12/shhh-no-spells-only-tears-now.jpg) --- src/com/massivecraft/factions/integration/Econ.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/com/massivecraft/factions/integration/Econ.java b/src/com/massivecraft/factions/integration/Econ.java index 217fdb0c..5bd0e4e1 100644 --- a/src/com/massivecraft/factions/integration/Econ.java +++ b/src/com/massivecraft/factions/integration/Econ.java @@ -96,7 +96,6 @@ public class Econ } // Otherwise you may not! ;,,; - i.msg("%s lacks permission to control %s's money.", i.describeTo(i, true), you.describeTo(i)); return false; } @@ -119,7 +118,11 @@ public class Econ } // Check the rights - if ( ! canIControllYou(by, from)) return false; + if ( ! canIControllYou(by, from)) + { + by.msg("%s lacks permission to control %s's money.", by.describeTo(by, true), from.describeTo(by)); + return false; + } // Is there enough money for the transaction to happen? if (Money.get(from) < amount)