Convert to Java logging framework. Closes #227.

This commit is contained in:
Sunstrike committed 2013-10-12 23:46:35 +01:00
1 parent 9bdbd6c6f1
commit 5c043d66f4
46 files changed
+127 -105

No files matched your search

+2 -1
View File
@@ -4,6 +4,7 @@ import java.util.EnumSet;
import cpw.mods.fml.common.ITickHandler;
import cpw.mods.fml.common.TickType;
import tconstruct.TConstruct;
public class TimeTicker implements ITickHandler
{
@@ -15,7 +16,7 @@ public class TimeTicker implements ITickHandler
@Override
public void tickStart (EnumSet<TickType> type, Object... tickData)
{
System.out.println("Tick");
TConstruct.logger.info("Tick");
time++;
tickParts = (int) (time % 20);
seconds = (int) (time / 20);