From 04044282ad939e389433b997f244384e8aa85d2b Mon Sep 17 00:00:00 2001 From: snowleo Date: Tue, 10 May 2011 21:36:50 +0000 Subject: [PATCH] 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 --- .../src/com/earth2me/essentials/commands/Commandbalance.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbalance.java b/Essentials/src/com/earth2me/essentials/commands/Commandbalance.java index 86eb1f014..13a722d0e 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbalance.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbalance.java @@ -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)));