Quickfixed everything easy.

This commit is contained in:
Olof Larsson
2013-04-22 13:03:21 +02:00
parent 9fc75b1fcf
commit 61e8730495
52 changed files with 134 additions and 132 deletions

View File

@@ -37,10 +37,10 @@ public class CmdFactionsMoneyTransferPf extends FCommand
Double amount = this.arg(0, ARDouble.get());
if (amount == null) return;
FPlayer from = this.arg(1, ARFPlayer.getStartAny());
FPlayer from = this.arg(1, ARFPlayer.getStartAny(sender));
if (from == null) return;
Faction to = this.arg(2, ARFaction.get());
Faction to = this.arg(2, ARFaction.get(sender));
if (to == null) return;
boolean success = Econ.transferMoney(fme, from, to, amount);