Separated Crafting job into a worker thread.
Crafting calculation can be canceled. Hooked up a crafting calculation launch and the confirmation GUI.
This commit is contained in:
@@ -62,12 +62,13 @@ public class TileCraftingTile extends AENetworkTile implements IAEMultiBlock, IP
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disconnect()
|
||||
public void disconnect(boolean update)
|
||||
{
|
||||
if ( clust != null )
|
||||
{
|
||||
clust.destroy();
|
||||
updateMeta();
|
||||
if ( update )
|
||||
updateMeta();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user