ab47724473
3797 errors. We have a long way to go.
26 lines
461 B
Java
26 lines
461 B
Java
package mekanism.common;
|
|
|
|
import mekanism.common.util.MekanismUtils;
|
|
|
|
/**
|
|
* Thread used to retrieve data from the Mekanism server.
|
|
* @author AidanBrady
|
|
*
|
|
*/
|
|
public class ThreadGetData extends Thread
|
|
{
|
|
public ThreadGetData()
|
|
{
|
|
setDaemon(true);
|
|
start();
|
|
}
|
|
|
|
@Override
|
|
public void run()
|
|
{
|
|
Mekanism.latestVersionNumber = MekanismUtils.getLatestVersion();
|
|
Mekanism.recentNews = MekanismUtils.getRecentNews();
|
|
|
|
MekanismUtils.updateDonators();
|
|
}
|
|
}
|