disabled try catch in LodGenWorker. It made logs useless

This commit is contained in:
cola98765
2021-11-06 22:55:26 +01:00
parent 563fea608e
commit b1a39ce74b
@@ -177,8 +177,8 @@ public class LodGenWorker implements IWorker
@Override
public void run()
{
try
{
//try
//{
// only generate LodChunks if they can
// be added to the current LodDimension
@@ -270,20 +270,20 @@ public class LodGenWorker implements IWorker
// System.out.println(endTime - startTime);
}// if in range
}
catch (Exception e)
{
ClientProxy.LOGGER.error(LodChunkGenThread.class.getSimpleName() + ": ran into an error: " + e.getMessage());
e.printStackTrace();
}
finally
{
//}
//catch (Exception e)
//{
// ClientProxy.LOGGER.error(LodChunkGenThread.class.getSimpleName() + ": ran into an error: " + e.getMessage());
// e.printStackTrace();
//}
//finally
//{
// decrement how many threads are running
LodWorldGenerator.INSTANCE.numberOfChunksWaitingToGenerate.addAndGet(-1);
// this position is no longer being generated
LodWorldGenerator.INSTANCE.positionsWaitingToBeGenerated.remove(pos);
}
//}
}// run