Shh no spells. Only tears now.

![Featured Image](https://www.massivecraft.com/wp-content/uploads/2013/12/shhh-no-spells-only-tears-now.jpg)
This commit is contained in:
Olof Larsson 2013-12-07 11:47:44 +01:00
parent 5d35754ed6
commit 1101f3c399

View File

@ -96,7 +96,6 @@ public class Econ
} }
// Otherwise you may not! ;,,; // Otherwise you may not! ;,,;
i.msg("<h>%s<i> lacks permission to control <h>%s's<i> money.", i.describeTo(i, true), you.describeTo(i));
return false; return false;
} }
@ -119,7 +118,11 @@ public class Econ
} }
// Check the rights // Check the rights
if ( ! canIControllYou(by, from)) return false; if ( ! canIControllYou(by, from))
{
by.msg("<h>%s<i> lacks permission to control <h>%s's<i> money.", by.describeTo(by, true), from.describeTo(by));
return false;
}
// Is there enough money for the transaction to happen? // Is there enough money for the transaction to happen?
if (Money.get(from) < amount) if (Money.get(from) < amount)