MassiveCore - Performance improvement for command argument readers.

This commit is contained in:
Olof Larsson
2014-07-31 16:42:47 +02:00
parent 95abbe285c
commit 7ac78aa503
14 changed files with 15 additions and 20 deletions

View File

@@ -50,7 +50,7 @@ public class CmdFactionsMoneyTransferPf extends FCommand
Double amount = this.arg(0, ARDouble.get());
if (amount == null) return;
UPlayer from = this.arg(1, ARUPlayer.getStartAny(sender));
UPlayer from = this.arg(1, ARUPlayer.getAny(sender));
if (from == null) return;
Faction to = this.arg(2, ARFaction.get(sender));