mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 20:52:26 +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
@@ -55,9 +55,8 @@ public class TPacketHandler implements IPacketHandler
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
System.out.println("Failed at reading client packet for TConstruct.");
|
||||
TConstruct.logger.warning("Failed at reading client packet for TConstruct.");
|
||||
e.printStackTrace();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -187,9 +186,8 @@ public class TPacketHandler implements IPacketHandler
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
System.out.println("Failed at reading server packet for TConstruct.");
|
||||
TConstruct.logger.warning("Failed at reading server packet for TConstruct.");
|
||||
e.printStackTrace();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user