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:
parent
5d35754ed6
commit
1101f3c399
@ -96,7 +96,6 @@ public class Econ
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
@ -119,7 +118,11 @@ public class Econ
|
||||
}
|
||||
|
||||
// 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?
|
||||
if (Money.get(from) < amount)
|
||||
|
Loading…
Reference in New Issue
Block a user