From ffa4806af48607cea79870689fe5e54092d91774 Mon Sep 17 00:00:00 2001 From: Brettflan Date: Fri, 6 Apr 2012 13:23:01 -0500 Subject: [PATCH] fix for /f power command used on self incorrectly also requiring factions.power.any permission --- src/com/massivecraft/factions/cmd/CmdPower.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/cmd/CmdPower.java b/src/com/massivecraft/factions/cmd/CmdPower.java index 12115816..4f1e6d4c 100644 --- a/src/com/massivecraft/factions/cmd/CmdPower.java +++ b/src/com/massivecraft/factions/cmd/CmdPower.java @@ -31,7 +31,7 @@ public class CmdPower extends FCommand FPlayer target = this.argAsBestFPlayerMatch(0, fme); if (target == null) return; - if (target != me && ! Permission.POWER_ANY.has(sender, true)) return; + if (target != fme && ! Permission.POWER_ANY.has(sender, true)) return; // if economy is enabled, they're not on the bypass list, and this command has a cost set, make 'em pay if ( ! payForCommand(Conf.econCostPower, "to show player power info", "for showing player power info")) return;