quick fix
This commit is contained in:
@@ -46,7 +46,7 @@ public class DDSaveHandler
|
|||||||
// Don't surround this code with try-catch. Our mod should crash if an error
|
// 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.
|
// 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/";
|
String basePath = DimensionManager.getCurrentSaveRootDirectory() + "/DimensionalDoors/data/";
|
||||||
File dataDirectory = new File(basePath);
|
File dataDirectory = new File(basePath);
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class DDLogger
|
|||||||
this.log.append("Logger started.\n");
|
this.log.append("Logger started.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static DDLogger logger()
|
public static DDLogger logger()
|
||||||
{
|
{
|
||||||
if( instance == null)
|
if( instance == null)
|
||||||
{
|
{
|
||||||
@@ -35,10 +35,9 @@ public class DDLogger
|
|||||||
{
|
{
|
||||||
this.description=description;
|
this.description=description;
|
||||||
}
|
}
|
||||||
private DDTimer start()
|
private void start()
|
||||||
{
|
{
|
||||||
this.startTime=System.nanoTime();
|
this.startTime=System.nanoTime();
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
private void stop(long endTime)
|
private void stop(long endTime)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user