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:
snowleo 2011-05-10 21:36:50 +00:00
parent 48409fd9ea
commit 04044282ad

View file

@ -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)));