Mekanism-tilera-Edition/src/main/java/mekanism/common/ThreadGetData.java
2014-04-20 03:44:06 +01:00

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();
}
}