Reduce scope of variables
This commit is contained in:
@@ -216,7 +216,6 @@ public class ContainerCraftConfirm extends AEBaseContainer
|
||||
|
||||
for( IAEItemStack out : plan )
|
||||
{
|
||||
IAEItemStack m = null;
|
||||
|
||||
IAEItemStack o = out.copy();
|
||||
o.reset();
|
||||
@@ -229,6 +228,7 @@ public class ContainerCraftConfirm extends AEBaseContainer
|
||||
IStorageGrid sg = this.getGrid().getCache( IStorageGrid.class );
|
||||
IMEInventory<IAEItemStack> items = sg.getItemInventory();
|
||||
|
||||
IAEItemStack m = null;
|
||||
if( c != null && this.result.isSimulation() )
|
||||
{
|
||||
m = o.copy();
|
||||
|
||||
Reference in New Issue
Block a user