generated from tilera/1710mod
fix: infusion workbench now doesn't create borked item stacks
closes #1
This commit is contained in:
parent
da9e5f01da
commit
6992b986ab
|
@ -111,7 +111,9 @@ public class ContainerInfusionWorkbench extends Container {
|
||||||
this.tileEntity.getStackInSlot(10), this.ip.player, rec.getCost()
|
this.tileEntity.getStackInSlot(10), this.ip.player, rec.getCost()
|
||||||
)
|
)
|
||||||
&& this.tileEntity.doSourcesMatch(rec.getAspects())) {
|
&& this.tileEntity.doSourcesMatch(rec.getAspects())) {
|
||||||
this.tileEntity.setInventorySlotContentsSoftly(9, rec.getRecipeOutput());
|
this.tileEntity.setInventorySlotContentsSoftly(
|
||||||
|
9, rec.getCraftingResult(bridge)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -176,13 +178,4 @@ public class ContainerInfusionWorkbench extends Container {
|
||||||
}
|
}
|
||||||
return var2;
|
return var2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack slotClick(
|
|
||||||
final int par1,
|
|
||||||
final int par2,
|
|
||||||
final int par3,
|
|
||||||
final EntityPlayer par4EntityPlayer
|
|
||||||
) {
|
|
||||||
return super.slotClick(par1, par2, par3, par4EntityPlayer);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue