Quickfixed everything easy.
This commit is contained in:
@@ -35,10 +35,10 @@ public class CmdFactionsMoneyTransferFf extends FCommand
|
||||
Double amount = this.arg(0, ARDouble.get());
|
||||
if (amount == null) return;
|
||||
|
||||
Faction from = this.arg(1, ARFaction.get());
|
||||
Faction from = this.arg(1, ARFaction.get(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);
|
||||
|
||||
Reference in New Issue
Block a user