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

@@ -37,7 +37,7 @@ public class CmdFactionsPromote extends FCommand
@Override
public void perform()
{
UPlayer you = this.arg(0, ARUPlayer.getStartAny(sender));
UPlayer you = this.arg(0, ARUPlayer.getAny(sender));
if (you == null) return;
if (you.getFaction() != usenderFaction)