From c6757fae602586924a2f52c0c8a56179f2494f67 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Thu, 25 Apr 2013 14:15:25 +0200 Subject: [PATCH] Removing some f and adding some u. --- .../massivecraft/factions/integration/Econ.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/com/massivecraft/factions/integration/Econ.java b/src/com/massivecraft/factions/integration/Econ.java index ef1ce76f..7e819ec7 100644 --- a/src/com/massivecraft/factions/integration/Econ.java +++ b/src/com/massivecraft/factions/integration/Econ.java @@ -28,22 +28,22 @@ public class Econ // UTIL // -------------------------------------------- // - public static boolean payForAction(double cost, UPlayer fsender, String actionDescription) + public static boolean payForAction(double cost, UPlayer usender, String actionDescription) { - if (!isEnabled(fsender)) return true; + if (!isEnabled(usender)) return true; if (cost == 0D) return true; - if (fsender.isUsingAdminMode()) return true; - UConf uconf = UConf.get(fsender); - Faction fsenderFaction = fsender.getFaction(); + if (usender.isUsingAdminMode()) return true; + UConf uconf = UConf.get(usender); + Faction usenderFaction = usender.getFaction(); - if (uconf.bankEnabled && uconf.bankFactionPaysCosts && fsenderFaction.isNormal()) + if (uconf.bankEnabled && uconf.bankFactionPaysCosts && usenderFaction.isNormal()) { - return modifyMoney(fsenderFaction, -cost, actionDescription); + return modifyMoney(usenderFaction, -cost, actionDescription); } else { - return modifyMoney(fsender, -cost, actionDescription); + return modifyMoney(usender, -cost, actionDescription); } }