001 package net.minecraft.server;
002
003 import java.util.concurrent.Callable;
004
005 public class CallableServerMemoryStats implements Callable
006 {
007 final MinecraftServer mcServer;
008
009 public CallableServerMemoryStats(MinecraftServer par1MinecraftServer)
010 {
011 this.mcServer = par1MinecraftServer;
012 }
013
014 public String func_82551_a()
015 {
016 return MinecraftServer.getServerConfigurationManager(this.mcServer).getCurrentPlayerCount() + " / " + MinecraftServer.getServerConfigurationManager(this.mcServer).getMaxPlayers() + "; " + MinecraftServer.getServerConfigurationManager(this.mcServer).playerEntityList;
017 }
018
019 public Object call()
020 {
021 return this.func_82551_a();
022 }
023 }