changed login tracking to print to getmetrics

This commit is contained in:
alisolarflare 2016-11-15 00:18:30 -05:00
parent 74179fffb1
commit 3dba165e2c

View file

@ -14,7 +14,8 @@ public class PlayerLoginListener implements Listener{
} }
@EventHandler @EventHandler
public void onPlayerLogin(PlayerLoginEvent event){ public void onPlayerLogin(PlayerLoginEvent event){
module.saveData(module.metricsYml, "loginlog."+System.currentTimeMillis(), event.getPlayer().getName()); module.saveData(module.metricsYml, "loginlog."+System.currentTimeMillis()+event.getPlayer().getName(), event.getPlayer().getName());
module.metricsList.add("loginlog."+System.currentTimeMillis()+event.getPlayer().getName());
event.getPlayer(); event.getPlayer();
} }
} }