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!
|
#Build Number for ANT. Do not edit!
|
||||||
#Tue May 13 17:00:06 CEST 2014
|
#Tue May 13 17:10:36 CEST 2014
|
||||||
build.number=840
|
build.number=843
|
||||||
|
@ -35,6 +35,7 @@ public class Command_glist extends TFM_Command
|
|||||||
if (TFM_AdminList.isSeniorAdmin(sender))
|
if (TFM_AdminList.isSeniorAdmin(sender))
|
||||||
{
|
{
|
||||||
TFM_PlayerList.getInstance().purgeAll();
|
TFM_PlayerList.getInstance().purgeAll();
|
||||||
|
playerMsg("Purged playerbase");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -704,6 +704,7 @@ public class TFM_PlayerListener implements Listener
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
TFM_PlayerList.getInstance().getEntry(player);
|
||||||
TFM_Log.info("Added new player: " + TFM_Util.formatPlayer(player));
|
TFM_Log.info("Added new player: " + TFM_Util.formatPlayer(player));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -777,7 +778,6 @@ public class TFM_PlayerListener implements Listener
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Player Tab and auto Tags
|
// Player Tab and auto Tags
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.HIGH)
|
@EventHandler(priority = EventPriority.HIGH)
|
||||||
public static void onPlayerJoinEvent(PlayerJoinEvent event)
|
public static void onPlayerJoinEvent(PlayerJoinEvent event)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user