mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 23:13:07 +00:00
Convert to Java logging framework. Closes #227.
This commit is contained in:
1 parent
9bdbd6c6f1
commit
5c043d66f4
46 files changed
+127
-105
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user