Preload player when logging in. Fixes #182

This commit is contained in:
unknown 2014-05-13 17:11:13 +02:00
parent 73a91c02c6
commit b3e40462e2
3 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Tue May 13 17:00:06 CEST 2014
build.number=840
#Tue May 13 17:10:36 CEST 2014
build.number=843

View file

@ -35,6 +35,7 @@ public class Command_glist extends TFM_Command
if (TFM_AdminList.isSeniorAdmin(sender))
{
TFM_PlayerList.getInstance().purgeAll();
playerMsg("Purged playerbase");
}
else
{

View file

@ -704,6 +704,7 @@ public class TFM_PlayerListener implements Listener
}
else
{
TFM_PlayerList.getInstance().getEntry(player);
TFM_Log.info("Added new player: " + TFM_Util.formatPlayer(player));
}
@ -775,9 +776,8 @@ public class TFM_PlayerListener implements Listener
{
TFM_ServerInterface.handlePlayerLogin(event);
}
// Player Tab and auto Tags
@EventHandler(priority = EventPriority.HIGH)
public static void onPlayerJoinEvent(PlayerJoinEvent event)
{