mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 11:06:08 +00:00
Permission essentials.balance.other is now essentials.balance.others
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1415 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
48409fd9ea
commit
04044282ad
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ public class Commandbalance extends EssentialsCommand
|
||||||
{
|
{
|
||||||
charge(user);
|
charge(user);
|
||||||
double bal = (args.length < 1
|
double bal = (args.length < 1
|
||||||
|| !user.isAuthorized("essentials.balance.others")
|
|| !(user.isAuthorized("essentials.balance.others")
|
||||||
|| !user.isAuthorized("essentials.balance.other")
|
|| user.isAuthorized("essentials.balance.other"))
|
||||||
? user
|
? user
|
||||||
: getPlayer(server, args, 0)).getMoney();
|
: getPlayer(server, args, 0)).getMoney();
|
||||||
user.sendMessage(Util.format("balance", Util.formatCurrency(bal)));
|
user.sendMessage(Util.format("balance", Util.formatCurrency(bal)));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue