Fix some lag with f show. Remove offline permission lookups.

The lookup was locking up my server on almost any f show executions. It's just not worth it.
This commit is contained in:
drtshock
2015-04-25 19:15:54 -05:00
parent 41d0195c9e
commit d0b514eff6
3 changed files with 41 additions and 16 deletions

View File

@@ -56,7 +56,7 @@ public class CmdShow extends FCommand {
double powerBoost = faction.getPowerBoost();
String boost = (powerBoost == 0.0) ? "" : (powerBoost > 0.0 ? TL.COMMAND_SHOW_BONUS.toString() : TL.COMMAND_SHOW_PENALTY.toString() + powerBoost + ")");
List<FancyMessage> allies = new ArrayList<FancyMessage>();
List<FancyMessage> enemies = new ArrayList<FancyMessage>();
if (!faction.isNone()) {