mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-17 10:55:06 +00:00
fix pattern remove and add
This commit is contained in:
1 parent
0bc3e5b9a5
commit
89837f9497
5 files changed
+62
-4
No files matched your search
@@ -131,6 +131,16 @@ public class PartFluidPatternTerminal extends FCBasePart {
|
||||
this.setCraftingRecipe( details.isCraftable() );
|
||||
this.setSubstitution( details.canSubstitute() );
|
||||
|
||||
for( int x = 0; x < this.crafting.getSizeInventory(); x++ )
|
||||
{
|
||||
this.crafting.setInventorySlotContents( x, null );
|
||||
}
|
||||
|
||||
for( int x = 0; x < this.output.getSizeInventory(); x++ )
|
||||
{
|
||||
this.output.setInventorySlotContents( x, null );
|
||||
}
|
||||
|
||||
for( int x = 0; x < this.crafting.getSizeInventory() && x < details.getInputs().length; x++ )
|
||||
{
|
||||
final IAEItemStack item = details.getInputs()[x];
|
||||
@@ -166,6 +176,16 @@ public class PartFluidPatternTerminal extends FCBasePart {
|
||||
this.setCraftingRecipe( details.isCraftable() );
|
||||
this.setSubstitution( details.canSubstitute() );
|
||||
|
||||
for( int x = 0; x < this.crafting.getSizeInventory(); x++ )
|
||||
{
|
||||
this.crafting.setInventorySlotContents( x, null );
|
||||
}
|
||||
|
||||
for( int x = 0; x < this.output.getSizeInventory(); x++ )
|
||||
{
|
||||
this.output.setInventorySlotContents( x, null );
|
||||
}
|
||||
|
||||
for( int x = 0; x < this.crafting.getSizeInventory() && x < details.getInputs().length; x++ )
|
||||
{
|
||||
final IAEItemStack item = details.getInputs()[x];
|
||||
|
||||
@@ -127,6 +127,16 @@ public class PartFluidPatternTerminalEx extends FCBasePart {
|
||||
{
|
||||
this.setSubstitution( details.canSubstitute() );
|
||||
|
||||
for( int x = 0; x < this.crafting.getSizeInventory(); x++ )
|
||||
{
|
||||
this.crafting.setInventorySlotContents( x, null );
|
||||
}
|
||||
|
||||
for( int x = 0; x < this.output.getSizeInventory(); x++ )
|
||||
{
|
||||
this.output.setInventorySlotContents( x, null );
|
||||
}
|
||||
|
||||
for( int x = 0; x < this.crafting.getSizeInventory() && x < details.getInputs().length; x++ )
|
||||
{
|
||||
final IAEItemStack item = details.getInputs()[x];
|
||||
@@ -157,6 +167,16 @@ public class PartFluidPatternTerminalEx extends FCBasePart {
|
||||
{
|
||||
this.setSubstitution( details.canSubstitute() );
|
||||
|
||||
for( int x = 0; x < this.crafting.getSizeInventory(); x++ )
|
||||
{
|
||||
this.crafting.setInventorySlotContents( x, null );
|
||||
}
|
||||
|
||||
for( int x = 0; x < this.output.getSizeInventory(); x++ )
|
||||
{
|
||||
this.output.setInventorySlotContents( x, null );
|
||||
}
|
||||
|
||||
for( int x = 0; x < this.crafting.getSizeInventory() && x < details.getInputs().length; x++ )
|
||||
{
|
||||
final IAEItemStack item = details.getInputs()[x];
|
||||
|
||||
Reference in new issue
Block a user