dont pause main thread when calculating

This commit is contained in:
PrototypeTrousers
2021-07-17 22:15:54 -03:00
parent db2c4c4325
commit 0bd2bd6b5a
+1 -17
View File
@@ -325,25 +325,9 @@ public class CraftingJob implements Runnable, ICraftingJob
{
this.watch.reset();
this.watch.start();
this.running = true;
AELog.craftingDebug( "main thread is now going to sleep" );
this.monitor.notify();
while ( this.running )
{
try
{
this.monitor.wait();
}
catch( final InterruptedException ignored )
{
}
}
AELog.craftingDebug( "main thread is now active" );
}
this.running = true;
}
return true;