quick fix

This commit is contained in:
StevenRS11 2014-04-03 15:55:35 -04:00
parent 99476f8d70
commit d98b6279de
2 changed files with 3 additions and 4 deletions

View file

@ -46,7 +46,7 @@ public class DDSaveHandler
// Don't surround this code with try-catch. Our mod should crash if an error
// occurs at this level, since it could lead to some nasty problems.
DDLogger.logger().startTimer("Loading data");
DDLogger.startTimer("Loading data");
String basePath = DimensionManager.getCurrentSaveRootDirectory() + "/DimensionalDoors/data/";
File dataDirectory = new File(basePath);

View file

@ -15,7 +15,7 @@ public class DDLogger
this.log.append("Logger started.\n");
}
private static DDLogger logger()
public static DDLogger logger()
{
if( instance == null)
{
@ -35,10 +35,9 @@ public class DDLogger
{
this.description=description;
}
private DDTimer start()
private void start()
{
this.startTime=System.nanoTime();
return this;
}
private void stop(long endTime)
{