mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-21 23:01:28 +01: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
@ -28,8 +28,8 @@ public class Commandbalance extends EssentialsCommand
|
||||
{
|
||||
charge(user);
|
||||
double bal = (args.length < 1
|
||||
|| !user.isAuthorized("essentials.balance.others")
|
||||
|| !user.isAuthorized("essentials.balance.other")
|
||||
|| !(user.isAuthorized("essentials.balance.others")
|
||||
|| user.isAuthorized("essentials.balance.other"))
|
||||
? user
|
||||
: getPlayer(server, args, 0)).getMoney();
|
||||
user.sendMessage(Util.format("balance", Util.formatCurrency(bal)));
|
||||
|
Loading…
Reference in New Issue
Block a user