mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-12 05:53:53 +00:00
Preload player when logging in. Fixes #182
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user