remove time-based thread syncinc
This commit is contained in:
@@ -192,12 +192,11 @@ public class TickHandler
|
||||
final Collection<CraftingJob> jobSet = this.craftingJobs.get( wte.world );
|
||||
if( !jobSet.isEmpty() )
|
||||
{
|
||||
final int simTime = Math.max( 1, AEConfig.instance().getCraftingCalculationTimePerTick() / jobSet.size() * 1000);
|
||||
final Iterator<CraftingJob> i = jobSet.iterator();
|
||||
while( i.hasNext() )
|
||||
{
|
||||
final CraftingJob cj = i.next();
|
||||
if( !cj.simulateFor( simTime ) )
|
||||
if( !cj.simulateFor() )
|
||||
{
|
||||
i.remove();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user