mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 10:05:59 +00:00
Preload player when logging in. Fixes #182
This commit is contained in:
parent
73a91c02c6
commit
b3e40462e2
@ -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
|
||||
|
@ -35,6 +35,7 @@ public class Command_glist extends TFM_Command
|
||||
if (TFM_AdminList.isSeniorAdmin(sender))
|
||||
{
|
||||
TFM_PlayerList.getInstance().purgeAll();
|
||||
playerMsg("Purged playerbase");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user